Skip to content

Commit

Permalink
fix(nitro): disable externals in worker preset (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz authored Sep 20, 2021
1 parent 2af7359 commit 2298276
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/presets/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ export const worker: NitroPreset = {
entry: null, // Abstract
node: false,
minify: true,
externals: false,
inlineDynamicImports: true // iffe does not support code-splitting
}

0 comments on commit 2298276

Please sign in to comment.