diff options
author | Pierre Ossman <ossman@cendio.se> | 2017-07-04 10:09:04 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2017-07-04 10:09:04 +0200 |
commit | d5c5b4aab70a0e608a17f39aa101313d1dbf7d84 (patch) | |
tree | dcd0b3cbc65de7d3c66e14eec72ca665959a7e3f | |
parent | 9e2f733f7de66b05620420686487907216df20de (diff) | |
download | novnc-d5c5b4aab70a0e608a17f39aa101313d1dbf7d84.tar.gz |
Properly use babel opts
We prepared an options object for babel, but didn't include it properly
in the final call to babel.
-rwxr-xr-x | utils/use_require.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/use_require.js b/utils/use_require.js index 8522256..3c24928 100755 --- a/utils/use_require.js +++ b/utils/use_require.js @@ -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; |