befly-vite 1.4.10 → 1.4.12

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/index.js +2 -1
  2. package/package.json +5 -5
package/index.js CHANGED
@@ -142,11 +142,12 @@ export function createBeflyViteConfig(options = {}) {
142
142
  include: [/node_modules/],
143
143
  transformMixedEsModules: true
144
144
  },
145
- rollupOptions: {
145
+ rolldownOptions: {
146
146
  output: {
147
147
  chunkFileNames: "assets/js/[name]-[hash].js",
148
148
  entryFileNames: "assets/js/[name]-[hash].js",
149
149
  assetFileNames: "assets/[ext]/[name]-[hash].[ext]",
150
+ codeSplitting: true,
150
151
  manualChunks(id) {
151
152
  if (typeof manualChunks === "function") {
152
153
  const chunkName = manualChunks(id);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "befly-vite",
3
- "version": "1.4.10",
4
- "gitHead": "f9f6bca0385e275961720d686bab20b2e2167f87",
3
+ "version": "1.4.12",
4
+ "gitHead": "adac857f86168208b2e5359dc039a66cb34b50a9",
5
5
  "private": false,
6
6
  "description": "Befly Vite 配置预设和插件集合",
7
7
  "keywords": [
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@vitejs/plugin-vue": "^6.0.3",
38
- "sass": "^1.97.2",
38
+ "sass": "^1.97.3",
39
39
  "unplugin-auto-import": "^21.0.0",
40
40
  "unplugin-icons": "^23.0.1",
41
41
  "unplugin-vue-components": "^31.0.0",
@@ -43,9 +43,9 @@
43
43
  "vite-plugin-vue-devtools": "^8.0.5"
44
44
  },
45
45
  "peerDependencies": {
46
- "vite": "^8.0.0-beta.8",
46
+ "vite": "^8.0.0-beta.11",
47
47
  "vue": "^3.5.27",
48
- "vue-router": "^5.0.0-beta.0"
48
+ "vue-router": "^5.0.1"
49
49
  },
50
50
  "engines": {
51
51
  "bun": ">=1.3.0"