Properly use babel opts
We prepared an options object for babel, but didn't include it properly in the final call to babel.
This commit is contained in:
parent
9e2f733f7d
commit
d5c5b4aab7
|
@ -132,7 +132,7 @@ var make_lib_files = function (import_format, source_maps, with_app_dir) {
|
|||
helper.optionsOverride(opts);
|
||||
}
|
||||
|
||||
babel.transformFile(filename, babel_opts(), (err, res) => {
|
||||
babel.transformFile(filename, opts, (err, res) => {
|
||||
console.log(`Writing ${out_path}`);
|
||||
if (err) throw err;
|
||||
var {code, map, ast} = res;
|
||||
|
|
Loading…
Reference in New Issue