Skip to content

Commit

Permalink
chore: 🤖 update
Browse files Browse the repository at this point in the history
  • Loading branch information
IWANABETHATGUY committed Aug 12, 2024
1 parent 4343efb commit 7f45d97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vite/src/node/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ export async function resolveBuildPlugins(config: ResolvedConfig): Promise<{
...(config.isWorker ? [webWorkerPostPlugin()] : []),
],
post: [
// buildImportAnalysisPlugin(config),
buildImportAnalysisPlugin(config),
// ...(config.esbuild !== false ? [buildEsbuildPlugin(config)] : []),
...(options.minify ? [terserPlugin(config)] : []),
...(!config.isWorker
Expand Down Expand Up @@ -547,7 +547,7 @@ export async function build(
onRollupWarning(warning, warn, config)
},
experimental: {
enableComposingJsPlugins: true,
// enableComposingJsPlugins: true,
},
}

Expand Down
3 changes: 3 additions & 0 deletions packages/vite/src/node/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,9 @@ export async function resolveConfig(
normalPlugins,
postPlugins,
)
resolved.plugins.forEach((item) => {
// console.log(item.name)
})
Object.assign(resolved, createPluginHookUtils(resolved.plugins))

// call configResolved hooks
Expand Down

0 comments on commit 7f45d97

Please sign in to comment.