Skip to content

Commit

Permalink
revert: rollback #335
Browse files Browse the repository at this point in the history
This opens an unseen bug in nuxt < rc.4. including in a later semver-major version
  • Loading branch information
pi0 committed Jul 12, 2022
1 parent ad2b976 commit b7e5503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export async function copyPublicAssets (nitro: Nitro) {
}

export async function build (nitro: Nitro) {
await nitro.hooks.callHook('rollup:before', nitro)
const rollupConfig = getRollupConfig(nitro)
await nitro.hooks.callHook('rollup:before', nitro)
return nitro.options.dev ? _watch(nitro, rollupConfig) : _build(nitro, rollupConfig)
}

Expand Down

0 comments on commit b7e5503

Please sign in to comment.