We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddaa3ff commit b674d0eCopy full SHA for b674d0e
2 files changed
Makefile
@@ -9,7 +9,8 @@ install: dist/bundled.js
9
10
dist/bundled.js: src/index.ts package.json webpack.config.cjs
11
@mkdir -p dist
12
- npx webpack --config webpack.config.cjs
+ npm install
13
+ npm run build
14
15
policy.wasm: dist/bundled.js $(KUBEWARDEN_PLUGIN)
16
javy build dist/bundled.js -C plugin=$(KUBEWARDEN_PLUGIN) -o policy.wasm
package.json
@@ -4,7 +4,7 @@
4
"description": "A JavaScript Kubewarden policy template",
5
"main": "src/index.js",
6
"scripts": {
7
- "build": "webpack",
+ "build": "npx webpack --config webpack.config.cjs",
8
"test": "bats e2e.bats",
"format": "prettier --write .",
"format:check": "prettier --check ."
0 commit comments