Skip to content

Commit f8f5043

Browse files
committed
fix(umi-build-dev): winPath problem of the Compiling component
1 parent bd6fc38 commit f8f5043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/umi-build-dev/src/FilesGenerator.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ if (process.env.NODE_ENV === 'production') {
209209
let component;
210210
let isCompiling = false;
211211
let webpackChunkName = null;
212-
const compilingPath = join(__dirname, 'Compiling.js');
212+
const compilingPath = winPath(join(__dirname, 'Compiling.js'));
213213
if (isDev && process.env.COMPILE_ON_DEMAND !== 'none') {
214214
if (getRequest()[key]) {
215215
component = `require('${pageJSFile}').default`;

0 commit comments

Comments
 (0)