Skip to content

Commit

Permalink
Rename *.mjs => *.js
Browse files Browse the repository at this point in the history
The `.mjs` extension is no longer required since the npm package has been
switched to set `type`=`module`.
  • Loading branch information
robertknight committed Apr 16, 2024
1 parent 9a51d62 commit 2864f1e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ extension: build/unload-client.js
extension: build/pdfjs-init.js
extension: $(addprefix build/,$(EXTENSION_SRC))

build/extension.bundle.js: src/background/*.ts rollup.config.mjs build/settings.json
$(ROLLUP) -c rollup.config.mjs
build/extension.bundle.js: src/background/*.ts rollup.config.js build/settings.json
$(ROLLUP) -c rollup.config.js
build/manifest.json: src/manifest.json.mustache build/settings.json
$(MUSTACHE) build/settings.json $< > $@
build/client/build: node_modules/hypothesis/build/manifest.json
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
},
"browserslist": "chrome 85, firefox 75",
"scripts": {
"test": "rollup -c rollup-tests.config.mjs && karma start tests/karma.config.cjs --single-run",
"test": "rollup -c rollup-tests.config.js && karma start tests/karma.config.cjs --single-run",
"typecheck": "tsc --build src/tsconfig.json"
},
"packageManager": "[email protected]"
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 2864f1e

Please sign in to comment.