Showing
1 changed file
with
1 additions
and
1 deletions
@@ -31,7 +31,7 @@ module.exports = function(source) { | @@ -31,7 +31,7 @@ module.exports = function(source) { | ||
31 | } | 31 | } |
32 | return ` | 32 | return ` |
33 | case '${moduleName}.${pageName}': | 33 | case '${moduleName}.${pageName}': |
34 | - return import(/* webpackChunkName: "page.${moduleName}.${pageName}" */ './${path.relative(this.context, file)}');`; //eslint-disable-line | 34 | + return import(/* webpackChunkName: "page.${moduleName}.${pageName}" */ './${path.relative(this.context, file).split(path.sep).join("/")}');`; //eslint-disable-line |
35 | }), ''); | 35 | }), ''); |
36 | }), ''); | 36 | }), ''); |
37 | 37 |
-
Please register or login to post a comment