@sparknest/ui-build-vue 1.3.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/src/index.mjs +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sparknest/ui-build-vue",
3
- "version": "1.3.1",
3
+ "version": "1.4.0",
4
4
  "description": "Shared Vue component-library build core for Cedar and Maple",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -19,10 +19,10 @@
19
19
  "src"
20
20
  ],
21
21
  "dependencies": {
22
- "@vitejs/plugin-vue": "^5.2.4",
23
- "@vitejs/plugin-vue-jsx": "^3.1.0",
24
- "less": "^4.2.0",
25
- "vite": "^5.4.21",
22
+ "@vitejs/plugin-vue": "^6.0.11",
23
+ "@vitejs/plugin-vue-jsx": "^5.1.6",
24
+ "less": "^4.4.0",
25
+ "vite": "^8.3.8",
26
26
  "vue-compat-legacy": "npm:vue@3.2.0"
27
27
  },
28
28
  "peerDependencies": {
package/src/index.mjs CHANGED
@@ -372,7 +372,10 @@ async function buildBundle(config, format, outDir, fileName) {
372
372
  cssTarget: [...browserTargets],
373
373
  copyPublicDir: false,
374
374
  emptyOutDir: false,
375
- minify: format === 'cjs' ? false : 'esbuild',
375
+ // vite 8 (rolldown) dropped esbuild from its own dependencies; naming the
376
+ // `'esbuild'` minifier requires installing esbuild separately. `true` selects
377
+ // the bundler's default minifier (oxc on vite 8).
378
+ minify: format === 'cjs',
376
379
  outDir,
377
380
  lib: {
378
381
  entry: resolve(root, config.entry),