Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default defineConfig({
plugins: [vue()],
define: {
__APP_VERSION__: JSON.stringify(APP_VERSION),
'process.env.NODE_ENV': JSON.stringify('production'),
},
test: {
globals: true,
Expand All @@ -41,12 +42,7 @@ export default defineConfig({
// ComfyUI scripts (relative from js/ output dir)
'../../scripts/app.js',
'../../scripts/api.js',
// Runtime-provided dependencies
'vue',
'vue-i18n',
'pinia',
/^primevue\/?.*/,
/^@primevue\/themes\/?.*/,
// Vue and dependencies are now bundled (import map removed in ComfyUI frontend v1.33.9+)
],
output: {
dir: '../js',
Expand Down
Loading