Skip to content

Commit

Permalink
turn off generatedCode option until Rollup is upgraded
Browse files Browse the repository at this point in the history
  • Loading branch information
developit committed Dec 9, 2021
1 parent 9c67980 commit cf47160
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,8 @@ function createConfig(options, entry, format, writeMeta) {
strict: options.strict === true,
freeze: false,
esModule: false,
generatedCode: modern ? 'es2015' : 'es5',
// @TODO: enable this when updating to the latest Rollup:
//generatedCode: modern ? 'es2015' : 'es5',
externalLiveBindings: false,
sourcemap: options.sourcemap,
get banner() {
Expand Down

0 comments on commit cf47160

Please sign in to comment.