vite-plugin-mock-dev-server 2.0.5 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -285,7 +285,7 @@ var Compiler = class extends EventEmitter {
285
285
  glob(pattern, {
286
286
  ignore,
287
287
  cwd: path.join(this.cwd, this.options.dir)
288
- }).then((files) => files.map((file) => () => this.load(path.join(this.options.dir, file)))).then((loaders) => promiseParallel(loaders, 64)).then(() => this.updateMockData());
288
+ }).then((files) => files.map((file) => () => this.load(normalizePath(path.join(this.options.dir, file))))).then((loaders) => promiseParallel(loaders, 64)).then(() => this.updateMockData());
289
289
  if (!watch$1) return;
290
290
  this.watchMockEntry(isMatch);
291
291
  this.watchDeps();
@@ -411,7 +411,7 @@ export default processMockData(mockList);`;
411
411
  //#endregion
412
412
  //#region package.json
413
413
  var name = "vite-plugin-mock-dev-server";
414
- var version = "2.0.5";
414
+ var version = "2.0.6";
415
415
 
416
416
  //#endregion
417
417
  //#region src/build/packageJson.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vite-plugin-mock-dev-server",
3
3
  "type": "module",
4
- "version": "2.0.5",
4
+ "version": "2.0.6",
5
5
  "author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo)",
6
6
  "license": "MIT",
7
7
  "homepage": "https://vite-plugin-mock-dev-server.netlify.app",