We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7acfc3b commit 2cde224Copy full SHA for 2cde224
internal/static/package.json
@@ -6,8 +6,7 @@
6
"scripts": {
7
"dev": "vite",
8
"preview": "vite preview",
9
- "build": "vite build",
10
- "release": "bash -lc \"rm -rf ./dist && vite build && zip -r dist.zip dist/*\""
+ "build": "vite build"
11
},
12
"devDependencies": {
13
"vite": "^6.4.1"
@@ -18,4 +17,4 @@
18
17
"plotly.js-cartesian-dist": "^3.3.0",
19
"tippy.js": "^6.3.7"
20
}
21
-}
+}
internal/static/scripts/release.sh
@@ -0,0 +1,10 @@
1
+#!/bin/bash
2
+set -eu
3
+
4
+# Zip the dist directory into dist.zip
5
+cd "$(dirname "$0")/.."
+rm dist.zip -f
+rm ./dist -rf
+npm run build
+zip -r dist.zip dist/*
0 commit comments