diff --git a/gulpfile.js b/gulpfile.js index a03fe090..b63d5ff4 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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: [ diff --git a/src/js/main.js b/src/js/main.js index a53432ca..1456988f 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -1,4 +1,5 @@ -import { i18n } from './localization'; +import '../components/init.js'; +import { i18n } from './localization.js'; $(document).ready(function () { diff --git a/src/main.html b/src/main.html index 7f12007c..1d19e1fc 100644 --- a/src/main.html +++ b/src/main.html @@ -52,7 +52,6 @@ -