Skip to content

Commit 5a3fa19

Browse files
authored
Merge branch 'main' into drjkl/i18n-linting
2 parents 6c902b8 + 1351690 commit 5a3fa19

File tree

6 files changed

+5
-212
lines changed

6 files changed

+5
-212
lines changed

.storybook/main.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ const config: StorybookConfig = {
6464
deep: true,
6565
extensions: ['vue']
6666
})
67-
// Note: Explicitly NOT including generateImportMapPlugin to avoid externalization
6867
],
6968
server: {
7069
allowedHosts: true

build/plugins/generateImportMapPlugin.ts

Lines changed: 0 additions & 154 deletions
This file was deleted.

build/plugins/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
export { comfyAPIPlugin } from './comfyAPIPlugin'
2-
export { generateImportMapPlugin } from './generateImportMapPlugin'

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@
164164
"es-toolkit": "^1.39.9",
165165
"extendable-media-recorder": "^9.2.27",
166166
"extendable-media-recorder-wav-encoder": "^7.0.129",
167-
"fast-glob": "^3.3.3",
168167
"firebase": "catalog:",
169168
"fuse.js": "^7.0.0",
170169
"glob": "^11.0.3",

pnpm-lock.yaml

Lines changed: 4 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vite.config.mts

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import type { ProxyOptions, UserConfig } from 'vite'
1616
import { createHtmlPlugin } from 'vite-plugin-html'
1717
import vueDevTools from 'vite-plugin-vue-devtools'
1818

19-
import { comfyAPIPlugin, generateImportMapPlugin } from './build/plugins'
19+
import { comfyAPIPlugin } from './build/plugins'
2020

2121
dotenvConfig()
2222

@@ -318,47 +318,6 @@ export default defineConfig({
318318
}
319319
}
320320
},
321-
// Skip import-map generation for cloud builds to keep bundle small
322-
...(DISTRIBUTION !== 'cloud'
323-
? [
324-
generateImportMapPlugin([
325-
{
326-
name: 'vue',
327-
pattern: 'vue',
328-
entry: './dist/vue.esm-browser.prod.js'
329-
},
330-
{
331-
name: 'vue-i18n',
332-
pattern: 'vue-i18n',
333-
entry: './dist/vue-i18n.esm-browser.prod.js'
334-
},
335-
{
336-
name: 'primevue',
337-
pattern: /^primevue\/?.*/,
338-
entry: './index.mjs',
339-
recursiveDependence: true
340-
},
341-
{
342-
name: '@primevue/themes',
343-
pattern: /^@primevue\/themes\/?.*/,
344-
entry: './index.mjs',
345-
recursiveDependence: true
346-
},
347-
{
348-
name: '@primevue/forms',
349-
pattern: /^@primevue\/forms\/?.*/,
350-
entry: './index.mjs',
351-
recursiveDependence: true,
352-
override: {
353-
'@primeuix/forms': {
354-
entry: ''
355-
}
356-
}
357-
}
358-
])
359-
]
360-
: []),
361-
362321
Icons({
363322
compiler: 'vue3',
364323
customCollections: {

0 commit comments

Comments
 (0)