Skip to content

Commit 49ecaad

Browse files
committed
chore: enable loadfallback plugin at dev build
1 parent 707d839 commit 49ecaad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vite/src/node/plugins/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export async function resolvePlugins(
5151
normalPlugins: Plugin[],
5252
postPlugins: Plugin[],
5353
): Promise<Plugin[]> {
54-
const isBuild = config.command === 'build'
54+
const isBuild = true
5555
const isWorker = config.isWorker
5656
const buildPlugins = isBuild
5757
? await (await import('../build')).resolveBuildPlugins(config)

0 commit comments

Comments
 (0)