Skip to content

Commit 3631991

Browse files
authored
switch to node for bundle exec
1 parent ef7e72f commit 3631991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"types": "./index.d.ts",
88
"type": "module",
99
"scripts": {
10-
"test-build": "rm -rf .dist .tmp && mkdir -p .tmp && cd .tmp && echo 'import \"preact\";import \"preact/hooks\";import \"preact-render-to-string\";import(\"../index.js\")' > x.js && echo '<script type=module src=x.js>' > index.html && npx wmr build && mv -f dist/chunks ../.dist && rm -rf ../.tmp",
10+
"test-build": "node --experimental-modules test/bundle-using-wmr.js",
1111
"test": "node --experimental-vm-modules node_modules/.bin/jest"
1212
},
1313
"exports": {

0 commit comments

Comments
 (0)