add vite config to build iframe api
This commit is contained in:
+3
-1
@@ -74,10 +74,12 @@
|
||||
"zod": "^3.11.6"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "run-p templater serve svelte-check-watch typesafe-i18n",
|
||||
"start": "run-p templater serve watch-iframe-api svelte-check-watch typesafe-i18n",
|
||||
"templater": "cross-env ./templater.sh",
|
||||
"serve": "cross-env vite --host",
|
||||
"build": "cross-env vite build",
|
||||
"build-iframe-api": "vite --config iframe-api.vite.config.ts build",
|
||||
"watch-iframe-api": "yarn run build-iframe-api --watch",
|
||||
"build-typings": "cross-env tsc --project tsconfig-for-iframe-api-typings.json",
|
||||
"test": "cross-env TS_NODE_PROJECT=\"tsconfig-for-jasmine.json\" ts-node node_modules/jasmine/bin/jasmine --config=jasmine.json",
|
||||
"lint": "node_modules/.bin/eslint src/ tests/ --ext .ts,.svelte",
|
||||
|
||||
Reference in New Issue
Block a user