vite-plugin-mock-dev-server 2.0.3 → 2.0.4

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 +1 -1
  2. package/package.json +9 -9
package/dist/index.mjs CHANGED
@@ -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.3";
414
+ var version = "2.0.4";
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.3",
4
+ "version": "2.0.4",
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",
@@ -20,26 +20,26 @@
20
20
  "exports": {
21
21
  ".": {
22
22
  "import": {
23
- "types": "./dist/index.d.ts",
24
- "default": "./dist/index.js"
23
+ "types": "./dist/index.d.mts",
24
+ "default": "./dist/index.mjs"
25
25
  }
26
26
  },
27
27
  "./helper": {
28
28
  "import": {
29
- "types": "./dist/helper.d.ts",
30
- "default": "./dist/helper.js"
29
+ "types": "./dist/helper.d.mts",
30
+ "default": "./dist/helper.mjs"
31
31
  }
32
32
  },
33
33
  "./server": {
34
34
  "import": {
35
- "types": "./dist/server.d.ts",
36
- "default": "./dist/server.js"
35
+ "types": "./dist/server.d.mts",
36
+ "default": "./dist/server.mjs"
37
37
  }
38
38
  },
39
39
  "./package.json": "./package.json"
40
40
  },
41
- "main": "dist/index.js",
42
- "types": "dist/index.d.ts",
41
+ "main": "dist/index.mjs",
42
+ "types": "dist/index.d.mts",
43
43
  "files": [
44
44
  "dist"
45
45
  ],