Authored by 郝肖肖

'win-fix'

@@ -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