Skip to content

Commit

Permalink
fix(puppeteer): fix the failure to render the fragment from plugin-ev…
Browse files Browse the repository at this point in the history
…al (#317)
  • Loading branch information
Anillc authored Aug 8, 2021
1 parent 5989230 commit 4c04319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-puppeteer/src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ function wrapFactory<F extends (...args: any) => any>(func: F) {
}

internal.setGlobal(config.loaderConfig.jsxFactory, wrapFactory(createElement))
internal.setGlobal(config.loaderConfig.jsxFragment, wrapFactory(Fragment))
internal.setGlobal(config.loaderConfig.jsxFragment, Fragment)

0 comments on commit 4c04319

Please sign in to comment.