调整基础数据、车船务、项目、合同
This commit is contained in:
@@ -87,6 +87,10 @@ export default ({ mode, command }) => {
|
||||
plugins: createVitePlugins(env, command === 'build'),
|
||||
build: buildConfig,
|
||||
optimizeDeps: {
|
||||
// vue-pdf-embed is loaded on demand by the PDF preview component. Keeping
|
||||
// it out of the shared dependency bundle avoids stale Vue chunk cycles
|
||||
// when the development dependency cache is refreshed.
|
||||
exclude: ['vue-pdf-embed'],
|
||||
esbuildOptions: {
|
||||
target: 'esnext',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user