Skip to content

Commit

Permalink
Try passing --experimental-worker and see if Node 10 picks it up
Browse files Browse the repository at this point in the history
  • Loading branch information
ElMassimo committed Mar 3, 2021
1 parent 1cb7381 commit a645dac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
dist
coverage
output.txt
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"scripts": {
"clean": "rm -rf ./dist",
"build": "tsup src/index.ts --dts --sourcemap --target es5 --format cjs,esm",
"build": "node --experimental-worker ./node_modules/.bin/tsup src/index.ts --dts --sourcemap --target es5 --format cjs,esm",
"test": "tsdx test --notify --verbose",
"lint": "tsdx lint",
"prepublishOnly": "npm run build"
Expand Down

0 comments on commit a645dac

Please sign in to comment.