We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10a99db commit 4d93ccdCopy full SHA for 4d93ccd
vite-plugin-mock-dev-server/src/compiler/compiler.ts
@@ -56,7 +56,7 @@ export class Compiler extends EventEmitter {
56
* 性能开销,从而影响编译速度。
57
* 实测在控制并发数的前提下,总编译时间 差异不大,但内存开销更小更加稳定。
58
*/
59
- .then(files => files.map(file => () => this.load(path.join(this.options.dir, file))))
+ .then(files => files.map(file => () => this.load(normalizePath(path.join(this.options.dir, file)))))
60
.then(loaders => promiseParallel(loaders, 64))
61
.then(() => this.updateMockData())
62
0 commit comments