mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-15 20:35:23 +03:00
Tidy up init.js
build order
This commit is contained in:
parent
7bc1db46b6
commit
04d6cf556c
3 changed files with 2 additions and 4 deletions
|
@ -407,10 +407,8 @@ function dist_rollup() {
|
||||||
// If all the things used by other files are importing
|
// If all the things used by other files are importing
|
||||||
// it with `import/export` file doesn't have to be here.
|
// it with `import/export` file doesn't have to be here.
|
||||||
// I will be picked up by rollup and bundled accordingly.
|
// I will be picked up by rollup and bundled accordingly.
|
||||||
'components/init': 'src/components/init.js',
|
|
||||||
'js/main_cordova': 'src/js/main_cordova.js',
|
'js/main_cordova': 'src/js/main_cordova.js',
|
||||||
'js/utils/common': 'src/js/utils/common.js',
|
'js/utils/common': 'src/js/utils/common.js',
|
||||||
'js/tabs/logging': 'src/js/tabs/logging.js',
|
|
||||||
'js/main': 'src/js/main.js',
|
'js/main': 'src/js/main.js',
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import { i18n } from './localization';
|
import '../components/init.js';
|
||||||
|
import { i18n } from './localization.js';
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,6 @@
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="./css/dark-theme.css" media="all" disabled/>
|
<link type="text/css" rel="stylesheet" href="./css/dark-theme.css" media="all" disabled/>
|
||||||
|
|
||||||
<script type="module" src="./components/init.js"></script>
|
|
||||||
<!-- TODO: probably won't need this here once everything is imported -->
|
<!-- TODO: probably won't need this here once everything is imported -->
|
||||||
<script type="module" src="./js/utils/common.js"></script>
|
<script type="module" src="./js/utils/common.js"></script>
|
||||||
<!-- CORDOVA_INCLUDE js/cordova_chromeapi.js -->
|
<!-- CORDOVA_INCLUDE js/cordova_chromeapi.js -->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue