mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-14 11:59:53 +03:00
Add support for ELRS UID (#3097)
* Add support for ELRS UID * Add Babel * Fix review * Fix CSS
This commit is contained in:
parent
a7b53afe13
commit
6242f1e721
10 changed files with 934 additions and 17 deletions
|
@ -1101,6 +1101,11 @@ function cordova_execbrowserify(file) {
|
|||
const destpath = file.replace(filename, '');
|
||||
console.log(`Include required modules in ${file}`);
|
||||
return browserify(file, { ignoreMissing: true })
|
||||
.transform("babelify", {
|
||||
presets: ["@babel/preset-env"],
|
||||
sourceMaps: false,
|
||||
global:true,
|
||||
ignore: [/\/node_modules\/(?!md5.js\/)/] })
|
||||
.bundle()
|
||||
.pipe(source(filename))
|
||||
.pipe(gulp.dest(destpath));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue