Skip to content

Commit 5c725d4

Browse files
committed
mjs to js
1 parent 925df24 commit 5c725d4

File tree

13 files changed

+66
-66
lines changed

13 files changed

+66
-66
lines changed

docs/guide/extra/dist.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ If you use `vue-i18n.runtime.esm-bundler.js`, you will need to precompile all lo
4040

4141
## For Node.js (Server-Side)
4242

43-
- **`vue-i18n(.runtime).node.mjs`**:
43+
- **`vue-i18n(.runtime).node.js`**:
4444
- For ES Modules usage in Node.js
4545
- For use in Node.js via `import`
4646
- The dev/prod files are pre-built, but the appropriate file is automatically required based on `process.env`<wbr/>`.NODE_ENV`
47-
- This module is proxy module of `vue-i18n(.runtime).mjs`
48-
- **`vue-i18n.runtime.node.mjs`**: is runtime only.
49-
- **`vue-i18n.node.mjs`**: includes the runtime compiler.
47+
- This module is proxy module of `vue-i18n(.runtime).js`
48+
- **`vue-i18n.runtime.node.js`**: is runtime only.
49+
- **`vue-i18n.node.js`**: includes the runtime compiler.

packages/core-base/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"files": [
2727
"dist"
2828
],
29-
"module": "dist/core-base.mjs",
29+
"module": "dist/core-base.js",
3030
"unpkg": "dist/core-base.global.js",
3131
"jsdelivr": "dist/core-base.global.js",
3232
"types": "dist/core-base.d.ts",
@@ -51,13 +51,13 @@
5151
"exports": {
5252
".": {
5353
"types": "./dist/core-base.d.ts",
54-
"import": "./dist/core-base.mjs",
54+
"import": "./dist/core-base.js",
5555
"browser": "./dist/core-base.esm-browser.js",
5656
"node": {
5757
"import": {
58-
"production": "./dist/core-base.prod.mjs",
59-
"development": "./dist/core-base.mjs",
60-
"default": "./dist/core-base.mjs"
58+
"production": "./dist/core-base.prod.js",
59+
"development": "./dist/core-base.js",
60+
"default": "./dist/core-base.js"
6161
}
6262
}
6363
},

packages/core/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ The intlify core module for i18n
3636

3737
### For Node.js (Server-Side)
3838

39-
- **`core(.runtime).node.mjs`**:
40-
- For ES Moudles usage in Node.js
39+
- **`core(.runtime).node.js`**:
40+
- For ES Modules usage in Node.js
4141
- For use in Node.js via `import`
4242
- The dev/prod files are pre-built, but the appropriate file is automatically required based on `process.env.NODE_ENV`
43-
- This module is proxy module of `core(.runtime).mjs`
44-
- **`core.runtime.node.mjs`**: is runtime only. proxy `core.runtime.mjs`
45-
- **`core.node.mjs`**: includes the runtime compiler. proxy `core.mjs`
43+
- This module is proxy module of `core(.runtime).js`
44+
- **`core.runtime.node.js`**: is runtime only. proxy `core.runtime.js`
45+
- **`core.node.js`**: includes the runtime compiler. proxy `core.js`
4646

4747
## :copyright: License
4848

packages/core/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"files": [
2727
"dist"
2828
],
29-
"module": "dist/core.mjs",
29+
"module": "dist/core.js",
3030
"unpkg": "dist/core.global.js",
3131
"jsdelivr": "dist/core.global.js",
3232
"types": "dist/core.d.ts",
@@ -53,13 +53,13 @@
5353
"exports": {
5454
".": {
5555
"types": "./dist/core.d.ts",
56-
"import": "./dist/core.mjs",
56+
"import": "./dist/core.js",
5757
"browser": "./dist/core.esm-browser.js",
5858
"node": {
5959
"import": {
60-
"production": "./dist/core.prod.node.mjs",
61-
"development": "./dist/core.node.mjs",
62-
"default": "./dist/core.node.mjs"
60+
"production": "./dist/core.prod.node.js",
61+
"development": "./dist/core.node.js",
62+
"default": "./dist/core.node.js"
6363
}
6464
}
6565
},

packages/devtools-types/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"files": [
2626
"dist"
2727
],
28-
"module": "dist/devtools-types.mjs",
28+
"module": "dist/devtools-types.js",
2929
"types": "dist/devtools-types.d.ts",
3030
"dependencies": {
3131
"@intlify/core-base": "workspace:*",
@@ -43,12 +43,12 @@
4343
"exports": {
4444
".": {
4545
"types": "./dist/devtools-types.d.ts",
46-
"import": "./dist/devtools-types.mjs",
46+
"import": "./dist/devtools-types.js",
4747
"node": {
4848
"import": {
49-
"production": "./dist/devtools-types.prod.mjs",
50-
"development": "./dist/devtools-types.mjs",
51-
"default": "./dist/devtools-types.mjs"
49+
"production": "./dist/devtools-types.prod.js",
50+
"development": "./dist/devtools-types.js",
51+
"default": "./dist/devtools-types.js"
5252
}
5353
}
5454
},

packages/message-compiler/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"files": [
2727
"dist"
2828
],
29-
"module": "dist/message-compiler.mjs",
29+
"module": "dist/message-compiler.js",
3030
"unpkg": "dist/message-compiler.global.js",
3131
"jsdelivr": "dist/message-compiler.global.js",
3232
"types": "dist/message-compiler.d.ts",
@@ -50,13 +50,13 @@
5050
"exports": {
5151
".": {
5252
"types": "./dist/message-compiler.d.ts",
53-
"import": "./dist/message-compiler.mjs",
53+
"import": "./dist/message-compiler.js",
5454
"browser": "./dist/message-compiler.esm-browser.js",
5555
"node": {
5656
"import": {
57-
"production": "./dist/message-compiler.node.mjs",
58-
"development": "./dist/message-compiler.node.mjs",
59-
"default": "./dist/message-compiler.node.mjs"
57+
"production": "./dist/message-compiler.node.js",
58+
"development": "./dist/message-compiler.node.js",
59+
"default": "./dist/message-compiler.node.js"
6060
}
6161
}
6262
},

packages/petite-vue-i18n/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"files": [
2929
"dist"
3030
],
31-
"module": "dist/petite-vue-i18n.mjs",
31+
"module": "dist/petite-vue-i18n.js",
3232
"unpkg": "dist/petite-vue-i18n.global.js",
3333
"jsdelivr": "dist/petite-vue-i18n.global.js",
3434
"types": "dist/petite-vue-i18n.d.ts",
@@ -63,13 +63,13 @@
6363
"exports": {
6464
".": {
6565
"types": "./dist/petite-vue-i18n.d.ts",
66-
"import": "./dist/petite-vue-i18n.mjs",
66+
"import": "./dist/petite-vue-i18n.js",
6767
"browser": "./dist/petite-vue-i18n.esm-browser.js",
6868
"node": {
6969
"import": {
70-
"production": "./dist/petite-vue-i18n.node.mjs",
71-
"development": "./dist/petite-vue-i18n.node.mjs",
72-
"default": "./dist/petite-vue-i18n.node.mjs"
70+
"production": "./dist/petite-vue-i18n.node.js",
71+
"development": "./dist/petite-vue-i18n.node.js",
72+
"default": "./dist/petite-vue-i18n.node.js"
7373
}
7474
}
7575
},

packages/shared/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"files": [
2626
"dist"
2727
],
28-
"module": "dist/shared.mjs",
28+
"module": "dist/shared.js",
2929
"types": "dist/shared.d.ts",
3030
"engines": {
3131
"node": ">= 16"
@@ -40,12 +40,12 @@
4040
"exports": {
4141
".": {
4242
"types": "./dist/shared.d.ts",
43-
"import": "./dist/shared.mjs",
43+
"import": "./dist/shared.js",
4444
"browser": "./dist/shared.esm-browser.js",
4545
"node": {
4646
"import": {
47-
"development": "./dist/shared.mjs",
48-
"default": "./dist/shared.mjs"
47+
"development": "./dist/shared.js",
48+
"default": "./dist/shared.js"
4949
}
5050
}
5151
},

packages/vue-i18n-core/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,23 +57,23 @@
5757
"exports": {
5858
".": {
5959
"types": "./dist/vue-i18n-core.d.ts",
60-
"import": "./dist/vue-i18n-core.mjs",
60+
"import": "./dist/vue-i18n-core.js",
6161
"browser": "./dist/vue-i18n-core.esm-browser.js",
6262
"node": {
6363
"import": {
64-
"development": "./dist/vue-i18n-core.mjs",
65-
"default": "./dist/vue-i18n-core.mjs"
64+
"development": "./dist/vue-i18n-core.js",
65+
"default": "./dist/vue-i18n-core.js"
6666
}
6767
}
6868
},
6969
"./petite": {
7070
"types": "./dist/petite-vue-i18n-core.d.ts",
71-
"import": "./dist/petite-vue-i18n-core.mjs",
71+
"import": "./dist/petite-vue-i18n-core.js",
7272
"browser": "./dist/petite-vue-i18n-core.esm-browser.js",
7373
"node": {
7474
"import": {
75-
"development": "./petite-dist/vue-i18n-core.mjs",
76-
"default": "./dist/petite-vue-i18n-core.mjs"
75+
"development": "./petite-dist/vue-i18n-core.js",
76+
"default": "./dist/petite-vue-i18n-core.js"
7777
}
7878
}
7979
},

packages/vue-i18n/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ Internationalization plugin for Vue.js
3838

3939
### For Node.js (Server-Side)
4040

41-
- **`vue-i18n(.runtime).node.mjs`**:
42-
- For ES Moudles usage in Node.js
41+
- **`vue-i18n(.runtime).node.js`**:
42+
- For ES Modules usage in Node.js
4343
- For use in Node.js via `import`
4444
- The dev/prod files are pre-built, but the appropriate file is automatically required based on `process.env.NODE_ENV`
45-
- This module is proxy module of `vue-i18n(.runtime).mjs`
46-
- **`vue-i18n.runtime.node.mjs`**: is runtime only
47-
- **`vue-i18n.node.mjs`**: includes the runtime compiler
45+
- This module is proxy module of `vue-i18n(.runtime).js`
46+
- **`vue-i18n.runtime.node.js`**: is runtime only
47+
- **`vue-i18n.node.js`**: includes the runtime compiler
4848

4949

5050
## For Bundler feature flags

0 commit comments

Comments
 (0)