mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-03 10:59:39 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user