Skip to content

Commit ff5367e

Browse files
committed
chore: Moves packbuild into scripts dir
1 parent 3814594 commit ff5367e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"build": "run-s 'build:tsc' 'build:esbuild' 'build:extism' 'build:pack'",
1010
"build:esbuild": "node esbuild.js",
1111
"build:extism": "extism-js dist/index.js -i src/index.d.ts -o dist/plugin.wasm",
12-
"build:pack": "node packbuild.js",
12+
"build:pack": "node scripts/packbuild.js",
1313
"build:tsc": "tsc --noEmit",
1414
"prepare": "husky",
1515
"prettier": "prettier",

packbuild.js renamed to scripts/packbuild.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ const template = {
4242
};
4343

4444
writeFileSync(
45-
path.resolve(__dirname, "./dist/manifest.json"),
45+
path.resolve(__dirname, "../dist/manifest.json"),
4646
JSON.stringify(template, null, 2)
4747
);

0 commit comments

Comments
 (0)