Skip to content

Commit

Permalink
externalize node_modules and move esbuild to dev dep
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed Jan 8, 2024
1 parent bd438cd commit d7fc550
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
},
"dependencies": {
"detect-libc": "^1.0.3",
"esbuild": "^0.19.8",
"is-glob": "^4.0.3",
"micromatch": "^4.0.5",
"node-addon-api": "^7.0.0"
},
"devDependencies": {
"esbuild": "^0.19.8",
"fs-extra": "^10.0.0",
"husky": "^7.0.2",
"lint-staged": "^11.1.2",
Expand Down
1 change: 1 addition & 0 deletions scripts/build-wasm.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const cjsBuild = {
bundle: true,
format: 'cjs',
platform: 'node',
packages: 'external',
outdir: `${dir}/npm/wasm`,
outExtension: { '.js': '.cjs' },
inject: [`${dir}/wasm/import.meta.url-polyfill.js`],
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,6 @@
resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.19.8.tgz#c8285183dbdb17008578dbacb6e22748709b4822"
integrity sha512-bfZ0cQ1uZs2PqpulNL5j/3w+GDhP36k1K5c38QdQg+Swy51jFZWWeIkteNsufkQxp986wnqRRsb/bHbY1WQ7TA==

"@parcel/[email protected]":
version "2.3.0"
resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.3.0.tgz#193dd1c798003cdb5a1e59470ff26300f418a943"
integrity sha512-P7Wo91lKSeSgMTtG7CnBS6WrA5otr1K7shhSjKHNePVmfBHDoAOHYRXgUmhiNfbcGk0uMCHVcdbfxtuiZCHVow==

"@types/color-name@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0"
Expand Down

0 comments on commit d7fc550

Please sign in to comment.