From 5466cebdfb74ba61a6d9c59a71219632292eb239 Mon Sep 17 00:00:00 2001 From: Chunpeng Huo Date: Fri, 15 Feb 2019 08:23:51 +1100 Subject: [PATCH] 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. --- lib/build/bundled-source.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/build/bundled-source.js b/lib/build/bundled-source.js index 7316c1179..01873e62d 100644 --- a/lib/build/bundled-source.js +++ b/lib/build/bundled-source.js @@ -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