From 42eae8cd5b759eb3277d4c61c4ae156ba11119ef Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 8 Jan 2025 12:35:46 +0000 Subject: [PATCH] Use mjs/cjs explicitly --- index-wasm-esm.js => index-wasm-esm.mjs | 0 index.js => index.mjs | 0 node.js => node.mjs | 0 package.json | 6 +++--- 4 files changed, 3 insertions(+), 3 deletions(-) rename index-wasm-esm.js => index-wasm-esm.mjs (100%) rename index.js => index.mjs (100%) rename node.js => node.mjs (100%) diff --git a/index-wasm-esm.js b/index-wasm-esm.mjs similarity index 100% rename from index-wasm-esm.js rename to index-wasm-esm.mjs diff --git a/index.js b/index.mjs similarity index 100% rename from index.js rename to index.mjs diff --git a/node.js b/node.mjs similarity index 100% rename from node.js rename to node.mjs diff --git a/package.json b/package.json index 9e0a8368d..d89d931b0 100644 --- a/package.json +++ b/package.json @@ -38,11 +38,11 @@ } }, "files": [ - "index.js", + "index.mjs", "index.cjs", - "index-wasm-esm.js", + "index-wasm-esm.mjs", "index.d.ts", - "node.js", + "node.mjs", "node.cjs", "pkg/matrix_sdk_crypto_wasm.d.ts", "pkg/matrix_sdk_crypto_wasm_bg.js",