vite-plugin-auto-mpa-html
Advanced tools
Comparing version
@@ -0,1 +1,10 @@ | ||
# [1.1.0-alpha.3](https://github.com/iamspark1e/vite-plugin-auto-mpa-html/compare/v1.1.0-alpha.2...v1.1.0-alpha.3) (2023-10-17) | ||
### Bug Fixes | ||
* auto generate `optimizeDeps.entries` when command is `serve`, close https://github.com/iamspark1e/vite-plugin-auto-mpa-html/issues/16 ([3a7a345](https://github.com/iamspark1e/vite-plugin-auto-mpa-html/commit/3a7a34505067f46dcd85e5af1439dcc0a0999ed5)) | ||
# [1.1.0-alpha.2](https://github.com/iamspark1e/vite-plugin-auto-mpa-html/compare/v1.1.0-alpha.1...v1.1.0-alpha.2) (2023-10-17) | ||
@@ -2,0 +11,0 @@ |
@@ -385,3 +385,3 @@ var __defProp = Object.defineProperty; | ||
}); | ||
return { | ||
let generatedConfig = { | ||
build: { | ||
@@ -393,2 +393,8 @@ rollupOptions: { | ||
}; | ||
if (_env.command === "serve") { | ||
generatedConfig.optimizeDeps = { | ||
entries: Object.keys(input) | ||
}; | ||
} | ||
return generatedConfig; | ||
} | ||
@@ -395,0 +401,0 @@ }; |
{ | ||
"name": "vite-plugin-auto-mpa-html", | ||
"version": "1.1.0-alpha.2", | ||
"version": "1.1.0-alpha.3", | ||
"description": "A file directory-based automated multi-page Vite plugin that supports HTML templates using EJS.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
61855
1.25%867
1.4%