Skip to content

Commit af36dfb

Browse files
committed
switched to modern JavaScript for generated code
cf. https://rollupjs.org/guide/en/#outputgeneratedcode
1 parent f6f714d commit af36dfb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/bundle/bundler.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ module.exports = function generateBundle(entryPoint, config, cache) {
66
let { readConfig, writeConfig } = config;
77
let options = Object.assign({}, readConfig, {
88
input: entryPoint,
9+
output: {
10+
generatedCode: "es2015"
11+
},
912
cache
1013
});
1114
return rollup.rollup(options).

0 commit comments

Comments
 (0)