Skip to content

Commit 0c609f9

Browse files
committed
re-add testing of esm browser builds
It seems unclear why it was removed in the first place: I have tested extensively that it does work and it does fail the build if changing any assertion in the script
1 parent da4230a commit 0c609f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"test-cloud": "npm run test-headless -- --wd",
3939
"test-webworker": "mochify --no-detect-globals --https-server 0 --no-request-interception test/webworker/webworker-support-assessment.js",
4040
"test-esm-support": "mocha test/es2015/module-support-assessment-test.mjs",
41-
"check-esm-bundle-runs-in-browser": "node test/es2015/check-esm-bundle-is-runnable.js",
41+
"test-esm-browser-build": "node test/es2015/check-esm-bundle-is-runnable.js",
4242
"test-docker-image": "docker-compose up",
4343
"test-runnable-examples": "docs/release-source/release/examples/run-test.sh",
4444
"test": "npm run test-node && npm run test-headless && npm run test-webworker",
@@ -51,7 +51,7 @@
5151
"unimported": "unimported .",
5252
"pretest-webworker": "npm run build",
5353
"prebuild": "rimraf pkg && npm run check-dependencies",
54-
"postbuild": "npm run test-esm-support ",
54+
"postbuild": "npm run test-esm-support && npm run test-esm-browser-build",
5555
"prebuild-docs": "./scripts/update-compatibility.js",
5656
"prepublishOnly": "npm run build",
5757
"prettier:check": "prettier --check '**/*.{js,css,md}'",

0 commit comments

Comments
 (0)