We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74f4b64 commit 054f89cCopy full SHA for 054f89c
src/index.js
@@ -34,6 +34,7 @@ class ModuleGenerator {
34
if (moduleName === 'outputPath' || typeof moduleInfo !== 'object') return;
35
if (moduleInfo.selector) {
36
// Generate lazyLoad statements for modules with selectors
37
+ moduleInfo.selector = moduleInfo.selector.replaceAll("'", '"')
38
moduleContent += `lazyLoad('${moduleName}', '${moduleInfo.selector}', () => import(/*webpackChunkName: "${moduleName}-chunk"*/ '${moduleInfo.import}'));\n`;
39
} else {
40
// Generate dependency statements for other modules
0 commit comments