Skip to content

Commit

Permalink
Drop the undefined check and just use the ! check
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristian Bote committed Feb 5, 2018
1 parent 67b7c52 commit b4dcc27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -310,7 +310,7 @@ function createConfig(options, entry, format, writeMeta) {
strict: options.strict===true,
legacy: true,
freeze: false,
sourcemap: options.sourcemap===true || options.sourcemap===undefined,
sourcemap: options.sourcemap!==false,
treeshake: {
propertyReadSideEffects: false
},
Expand Down

0 comments on commit b4dcc27

Please sign in to comment.