Skip to content

Commit

Permalink
Fixes #48: Lasso.js should not mangle page bundle names
Browse files Browse the repository at this point in the history
  • Loading branch information
philidem committed May 16, 2015
1 parent b9147b3 commit d5db809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bundling-strategies.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
'default': function(options, config, bundleMappings, pageBundles) {

var pageName = options.name || options.pageName;
var pageBundleName = pageName.replace(/^[^A-Za-z0-9_\-\.]*/g, '');
var pageBundleName = pageName;
var asyncPageBundleName = pageBundleName + '-async';

return {
Expand Down Expand Up @@ -95,7 +95,7 @@ module.exports = {

var BundleMappings = require('./BundleMappings');
var pageName = options.name || options.pageName;
var pageBundleName = pageName.replace(/^[^A-Za-z0-9_\-\.]*/g, '');
var pageBundleName = pageName;
var asyncPageBundleName = pageBundleName + '-async';
var pageBundleMappings = new BundleMappings(config, pageName);

Expand Down

0 comments on commit d5db809

Please sign in to comment.