Tidy up `init.js` build order
parent
7bc1db46b6
commit
04d6cf556c
|
@ -407,10 +407,8 @@ function dist_rollup() {
|
|||
// If all the things used by other files are importing
|
||||
// it with `import/export` file doesn't have to be here.
|
||||
// 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/utils/common': 'src/js/utils/common.js',
|
||||
'js/tabs/logging': 'src/js/tabs/logging.js',
|
||||
'js/main': 'src/js/main.js',
|
||||
},
|
||||
plugins: [
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import { i18n } from './localization';
|
||||
import '../components/init.js';
|
||||
import { i18n } from './localization.js';
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
|
|
|
@ -52,7 +52,6 @@
|
|||
|
||||
<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 -->
|
||||
<script type="module" src="./js/utils/common.js"></script>
|
||||
<!-- CORDOVA_INCLUDE js/cordova_chromeapi.js -->
|
||||
|
|
Loading…
Reference in New Issue