Skip to content

Commit 5466ceb

Browse files
committed
fix(bundler): isolate cache between systemjs and requirejs apps
Previously, rarely, but when user has both systemjs app and requirejs app, the bundler could use a wrong cache.
1 parent a1ccc1a commit 5466ceb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/build/bundled-source.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ exports.BundledSource = class {
201201
// among different apps.
202202
const key = [
203203
moduleId,
204+
loaderType,
204205
JSON.stringify(context),
205206
JSON.stringify(opts),
206207
this.contents // contents here is after gulp transpile task

0 commit comments

Comments
 (0)