Skip to content

Commit

Permalink
chore: update cache store version
Browse files Browse the repository at this point in the history
  • Loading branch information
wre232114 committed Oct 20, 2024
1 parent 3174118 commit 6f9e307
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .changeset/light-walls-grin.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@farmfe/core": patch
"@farmfe/core": minor
---

improve partial bundle group named
16 changes: 15 additions & 1 deletion examples/vite-adapter-vue/farm.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,21 @@ export default defineConfig({
path: "build",
// publicPath: "/vue-public-path/",
},
sourcemap: false,
partialBundling: {
targetMinSize: 200 * 1024,
enforceTargetMinSize: true,
groups: [
{
name: "vue-pack",
enforce: true,
test: [
"node_modules/vue",
"node_modules/vue-router",
"node_modules/@vue"
]
}
]
}
},
plugins: [
sass(),
Expand Down

0 comments on commit 6f9e307

Please sign in to comment.