Skip to content

Commit

Permalink
fix: emit cjs stub before validation
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Dec 23, 2021
1 parent ad21529 commit 0154bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.ts
Expand Up @@ -21,7 +21,7 @@ export async function buildModule (rootDir: string) {
'@nuxt/kit-edge'
],
hooks: {
async 'build:done' (ctx) {
async 'rollup:done' (ctx) {
await writeCJSStub(ctx.options.outDir)
}
}
Expand Down

0 comments on commit 0154bc5

Please sign in to comment.