Commit 432c27ee authored by Philipp Nowinski's avatar Philipp Nowinski

[BUGFIX] modules imported from node_modules must also be run through

babel
parent a3b2fd93
......@@ -135,6 +135,7 @@ module.exports = class Js extends Task {
paths: this._config.js.libraryPaths,
debug: this._config.jsPipeline.sourceMaps
}).transform(babelify, {
global: true,
presets: [
[require('@babel/preset-env'), presetEnvConfiguration],
]
......
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