Skip to content

Commit

Permalink
fix(bundler): isolate cache between systemjs and requirejs apps
Browse files Browse the repository at this point in the history
Previously, rarely, but when user has both systemjs app and requirejs app, the bundler could use a wrong cache.
  • Loading branch information
3cp committed Feb 14, 2019
1 parent a1ccc1a commit 5466ceb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/build/bundled-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ exports.BundledSource = class {
// among different apps.
const key = [
moduleId,
loaderType,
JSON.stringify(context),
JSON.stringify(opts),
this.contents // contents here is after gulp transpile task
Expand Down

0 comments on commit 5466ceb

Please sign in to comment.