Skip to content

Commit

Permalink
fix(worker): Build.isDev in worker (#2702)
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Oct 14, 2020
1 parent d285879 commit e8ced45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/bundle/core-resolve-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const coreResolvePlugin = (config: d.Config, compilerCtx: d.CompilerCtx,
if (platform === 'worker') {
return `
export const Build = {
isDev: false,
isDev: ${config.devMode},
isBrowser: true,
isServer: false,
isTesting: false,
Expand Down

0 comments on commit e8ced45

Please sign in to comment.