Merge pull request #3000 from chmelevskij/chore/tidy-up-main-entry
Tidy up `init.js` build order10.9-maintenance
commit
fdaefa261d
|
@ -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