Skip to content

Commit

Permalink
Revert order for now
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Sep 18, 2023
1 parent 1d224c7 commit 97b31e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/astro/src/core/create-vite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ export async function createVite(
exclude: ['astro', 'node-fetch'],
},
plugins: [
configAliasVitePlugin({ settings }),
astroLoadFallbackPlugin({ fs, root: settings.config.root }),
astroVitePlugin({ settings, logger }),
astroScriptsPlugin({ settings }),
// The server plugin is for dev only and having it run during the build causes
Expand All @@ -132,8 +134,6 @@ export async function createVite(
vitePluginSSRManifest(),
astroAssetsPlugin({ settings, logger, mode }),
astroTransitions(),
configAliasVitePlugin({ settings }),
astroLoadFallbackPlugin({ fs, root: settings.config.root }),
],
publicDir: fileURLToPath(settings.config.publicDir),
root: fileURLToPath(settings.config.root),
Expand Down

0 comments on commit 97b31e8

Please sign in to comment.