Skip to content

Commit 0581dec

Browse files
committed
fix(bundle): only exclude system
1 parent 282dd66 commit 0581dec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/client-load-module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const loadModule = (cmpMeta: d.ComponentRuntimeMeta, hostRef: d.HostRef,
1111

1212
return import(
1313
/* webpackInclude: /\.entry\.js$/ */
14-
/* webpackExclude: /\.(system|cjs)\.entry\.js$/ */
14+
/* webpackExclude: /\.system\.entry\.js$/ */
1515
/* webpackMode: "lazy" */
1616
`./${bundleId}.entry.js${BUILD.hotModuleReplacement && hmrVersionId ? '?s-hmr=' + hmrVersionId : ''}`
1717
).then(importedModule => importedModule[cmpMeta.$tagName$.replace(/-/g, '_')], consoleError);

0 commit comments

Comments
 (0)