X Tutup
Skip to content

Commit e4f94f0

Browse files
committed
fix(build): lazy-require es6-shim in the a1 router to prevent npm/gulp issues
We should really remove this shim from the angular 1 bundle. I'll create an issue for that.
1 parent bfbce54 commit e4f94f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/angular1_router/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ var PRELUDE = '(function(){\n';
2222
var POSTLUDE = '\n}());\n';
2323
var FACADES = fs.readFileSync(__dirname + '/lib/facades.es5', 'utf8');
2424
var DIRECTIVES = fs.readFileSync(__dirname + '/src/ng_outlet.js', 'utf8');
25-
var ES6_SHIM = fs.readFileSync(__dirname + '/../../node_modules/es6-shim/es6-shim.js', 'utf8');
2625
function main() {
26+
var ES6_SHIM = fs.readFileSync(__dirname + '/../../node_modules/es6-shim/es6-shim.js', 'utf8');
2727
var dir = __dirname + '/../angular2/src/router/';
2828

2929
var out = '';

0 commit comments

Comments
 (0)
X Tutup