bundle deepfilternet assets within element call bundle

This commit is contained in:
fkwp
2026-03-26 15:49:15 +01:00
parent b6cc810db2
commit c9be83b27d
4 changed files with 160 additions and 9 deletions

View File

@@ -7,7 +7,7 @@
"dev:full": "vite",
"dev:embedded": "vite --config vite-embedded.config.js",
"build": "yarn build:full",
"build:full": "NODE_OPTIONS=--max-old-space-size=16384 vite build",
"build:full": "yarn setup:assets && NODE_OPTIONS=--max-old-space-size=16384 vite build",
"build:full:production": "yarn build:full",
"build:full:development": "yarn build:full --mode development",
"build:embedded": "yarn build:full --config vite-embedded.config.js",
@@ -17,6 +17,7 @@
"build:sdk": "yarn build:full --config vite-sdk.config.js",
"build:sdk:production": "yarn build:sdk",
"serve": "vite preview",
"setup:assets": "node scripts/setup-noise-suppression-assets.js",
"prettier:check": "prettier -c .",
"prettier:format": "prettier -w .",
"lint": "yarn lint:types && yarn lint:eslint && yarn lint:knip",