Skip to content

Commit 5d2f778

Browse files
committed
Use mjs/cjs explicitly
1 parent bd3f07e commit 5d2f778

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed
File renamed without changes.

index.js renamed to index.mjs

File renamed without changes.

node.js renamed to node.mjs

File renamed without changes.

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
".": {
2424
"matrix-org:wasm-esm": {
2525
"types": "./index.d.ts",
26-
"default": "./index-wasm-esm.js"
26+
"default": "./index-wasm-esm.mjs"
2727
},
2828
"require": {
2929
"types": "./index.d.ts",
@@ -32,17 +32,17 @@
3232
},
3333
"import": {
3434
"types": "./index.d.ts",
35-
"node": "./node.js",
36-
"default": "./index.js"
35+
"node": "./node.mjs",
36+
"default": "./index.mjs"
3737
}
3838
}
3939
},
4040
"files": [
41-
"index.js",
41+
"index.mjs",
4242
"index.cjs",
43-
"index-wasm-esm.js",
43+
"index-wasm-esm.mjs",
4444
"index.d.ts",
45-
"node.js",
45+
"node.mjs",
4646
"node.cjs",
4747
"pkg/matrix_sdk_crypto_wasm.d.ts",
4848
"pkg/matrix_sdk_crypto_wasm_bg.js",

0 commit comments

Comments
 (0)