summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@opera.com>2024-12-18 11:17:21 +0100
committerJoel Klinghed <the_jk@opera.com>2024-12-18 11:17:21 +0100
commitcfead8b936a6f6940bb0eb26bd4afa1192e023e6 (patch)
tree0f14c5c5a757bb334d6a64aae6ae9f0757fd7ba8 /package.json
parentd7772a3381a83aabc4851af7b433f095f6be789c (diff)
Bundle clicks.ts as well
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index f3fcb87..991996c 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
"version": "0.1.0",
"scripts": {
"build": "tsc",
- "bundle": "esbuild build/clicks_display.js --bundle --minify --sourcemap --target=es2020 --outfile=build/clicks_display.min.js",
+ "bundle": "esbuild build/clicks_display.js --bundle --minify --sourcemap --target=es2020 --outfile=build/clicks_display.min.js && esbuild build/clicks.js --bundle --minify --sourcemap --target=es2020 --outfile=build/clicks.min.js",
"format": "prettier --write src/*.ts",
"lint": "eslint src",
"postinstall": "patch-package"