Commit fea11ea6 authored by JC Brand's avatar JC Brand

Remove reference to deprecated preset-es2015

parent ba689f41
......@@ -173,17 +173,6 @@ function parameterize () {
const fn = config.output.filename;
config.output.filename = `${fn.replace(/\.js$/, '')}.min.js`;
}
if (lang === 'es2015') {
console.log("Making an es2015 build");
config.module.rules.forEach((rule) => {
if (rule.use.loader === 'babel-loader') {
rule.use.options.presets = [
["@babel/preset-es2015"]
]
}
});
}
}
parameterize();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment