Skip to content

Commit 13473d5

Browse files
Moved the sourcemapToAst variable into a function parameter, as a dependency, just like the other external libraries.
1 parent 531f3f8 commit 13473d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ gulp.task('build', function(cb) {
6767
'wrap': {
6868
// All of the third party dependencies are hoisted here
6969
// It's a hack, but it's not too painful
70-
'start': ';var sourcemapToAst;(function(esprima, estraverse, escodegen, _) {\n',
71-
'end': '}(typeof esprima !== "undefined" ? esprima: null, typeof estraverse !== "undefined" ? estraverse: null, typeof escodegen !== "undefined" ? escodegen: null, typeof _ !== "undefined" ? _ : null));'
70+
'start': ';(function(esprima, estraverse, escodegen, _, sourcemapToAst) {\n',
71+
'end': '}(typeof esprima !== "undefined" ? esprima: null, typeof estraverse !== "undefined" ? estraverse: null, typeof escodegen !== "undefined" ? escodegen: null, typeof _ !== "undefined" ? _ : null, typeof sourcemapToAst !== "undefined" ? sourcemapToAst : null));'
7272
},
7373
'createAnonymousAMDModule': true
7474
});

0 commit comments

Comments
 (0)