Authored by 郝肖肖

'win-fix'

... ... @@ -31,7 +31,7 @@ module.exports = function(source) {
}
return `
case '${moduleName}.${pageName}':
return import(/* webpackChunkName: "page.${moduleName}.${pageName}" */ './${path.relative(this.context, file)}');`; //eslint-disable-line
return import(/* webpackChunkName: "page.${moduleName}.${pageName}" */ './${path.relative(this.context, file).split(path.sep).join("/")}');`; //eslint-disable-line
}), '');
}), '');
... ...