@sparknest/ui-build-vue 1.3.1 → 1.4.1
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.
- package/package.json +5 -5
- 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
|
+
"version": "1.4.1",
|
|
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": "^
|
|
23
|
-
"@vitejs/plugin-vue-jsx": "^
|
|
24
|
-
"less": "^4.
|
|
25
|
-
"vite": "^
|
|
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
|
-
|
|
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),
|