We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6d1dd5 commit bf84ccbCopy full SHA for bf84ccb
packages/vite/src/node/plugins/index.ts
@@ -52,7 +52,7 @@ export async function resolvePlugins(
52
!isBuild ? optimizedDepsPlugin() : null,
53
!isWorker ? watchPackageDataPlugin(config.packageCache) : null,
54
!isBuild ? preAliasPlugin(config) : null,
55
- enableNativePlugin === true
+ enableNativePlugin === true && isBuild
56
? nativeAliasPlugin({
57
entries: config.resolve.alias.map((item) => {
58
return {
0 commit comments