diff --git a/package.json b/package.json index bcbd1daa..56e97c53 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "build": "VITE_GIT_HASH=`git log -1 --pretty=format:%h` vite build --config vite.config.mts", "lint": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src", "lint-fix": "eslint --ext .js,.ts,.vue --ignore-path .gitignore --fix src", - "prebuild": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src && node sw_combine.js && node scripts/copy-wasm.js", + "prebuild": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src && node sw_combine.cjs && node scripts/copy-wasm.cjs", "test:all": "npm run test:prerequisites && npm run build && npm run test:web && npm run test:mobile", "test:prerequisites": "node scripts/check-prerequisites.js", "test:web": "npx playwright test -c playwright.config-local.ts --trace on", diff --git a/scripts/copy-wasm.js b/scripts/copy-wasm.cjs similarity index 100% rename from scripts/copy-wasm.js rename to scripts/copy-wasm.cjs diff --git a/sw_combine.js b/sw_combine.cjs similarity index 100% rename from sw_combine.js rename to sw_combine.cjs