summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2017-07-04 10:09:04 +0200
committerPierre Ossman <ossman@cendio.se>2017-07-04 10:09:04 +0200
commitd5c5b4aab70a0e608a17f39aa101313d1dbf7d84 (patch)
treedcd0b3cbc65de7d3c66e14eec72ca665959a7e3f
parent9e2f733f7de66b05620420686487907216df20de (diff)
downloadnovnc-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-xutils/use_require.js2
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;