summaryrefslogtreecommitdiff
path: root/ext/popup-preview.html
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-11-04 18:45:57 +0900
committerDarius Jahandarie <djahandarie@gmail.com>2023-11-04 18:45:57 +0900
commitef79eab44bfd000792c610b968b5ceefd41e76a0 (patch)
tree48b04f30f6248caedbd880801aa49402a9e8066a /ext/popup-preview.html
parent376151096431d4362e4baaacf0cef4a534e169f7 (diff)
Modernize codebase
- Use ES modules - Remove vendored libs and build them from npm using esbuild - Switch from JSZip to zip.js
Diffstat (limited to 'ext/popup-preview.html')
-rw-r--r--ext/popup-preview.html27
1 files changed, 1 insertions, 26 deletions
diff --git a/ext/popup-preview.html b/ext/popup-preview.html
index 62d657a6..15810242 100644
--- a/ext/popup-preview.html
+++ b/ext/popup-preview.html
@@ -35,32 +35,7 @@
</div></div>
<!-- Scripts -->
-<script src="/lib/wanakana.min.js"></script>
-
-<script src="/js/core.js"></script>
-
-<script src="/js/yomichan.js"></script>
-
-<script src="/js/app/frontend.js"></script>
-<script src="/js/app/popup.js"></script>
-<script src="/js/app/popup-factory.js"></script>
-<script src="/js/app/theme-controller.js"></script>
-<script src="/js/comm/api.js"></script>
-<script src="/js/comm/cross-frame-api.js"></script>
-<script src="/js/comm/frame-ancestry-handler.js"></script>
-<script src="/js/comm/frame-client.js"></script>
-<script src="/js/comm/frame-offset-forwarder.js"></script>
-<script src="/js/data/sandbox/string-util.js"></script>
-<script src="/js/dom/document-util.js"></script>
-<script src="/js/dom/dom-text-scanner.js"></script>
-<script src="/js/dom/text-source-element.js"></script>
-<script src="/js/dom/text-source-range.js"></script>
-<script src="/js/input/hotkey-handler.js"></script>
-<script src="/js/language/text-scanner.js"></script>
-<script src="/js/pages/settings/popup-preview-frame.js"></script>
-<script src="/js/script/dynamic-loader.js"></script>
-
-<script src="/js/pages/settings/popup-preview-frame-main.js"></script>
+<script src="/js/pages/settings/popup-preview-frame-main.js" type="module"></script>
</body>
</html>