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.
customResolver
1 parent ed35e62 commit de9074cCopy full SHA for de9074c
packages/vite/src/node/plugins/index.ts
@@ -52,7 +52,9 @@ export async function resolvePlugins(
52
!isBuild ? optimizedDepsPlugin() : null,
53
!isWorker ? watchPackageDataPlugin(config.packageCache) : null,
54
!isBuild ? preAliasPlugin(config) : null,
55
- enableNativePlugin === true && isBuild
+ enableNativePlugin === true &&
56
+ isBuild &&
57
+ !config.resolve.alias.some((v) => v.customResolver)
58
? nativeAliasPlugin({
59
entries: config.resolve.alias.map((item) => {
60
return {
0 commit comments