We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd6fc38 commit f8f5043Copy full SHA for f8f5043
packages/umi-build-dev/src/FilesGenerator.js
@@ -209,7 +209,7 @@ if (process.env.NODE_ENV === 'production') {
209
let component;
210
let isCompiling = false;
211
let webpackChunkName = null;
212
- const compilingPath = join(__dirname, 'Compiling.js');
+ const compilingPath = winPath(join(__dirname, 'Compiling.js'));
213
if (isDev && process.env.COMPILE_ON_DEMAND !== 'none') {
214
if (getRequest()[key]) {
215
component = `require('${pageJSFile}').default`;
0 commit comments