From c0968d263d5531d21a6ff9df111d63ca2c6e43fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 5 Nov 2021 19:34:01 +0100 Subject: Start depending on npm. Chromium can't handle JavaScript-modules in XHTML-document [1]. The workaround is to use a javascript bundler. Here we start depending on browserify. I evaluated both that and webpack, and browserify seemed to work marginally better with typescript. Unfortunately this also makes us depend on npm, where we unfortunately already are bloatet... $ ls static/node_modules | wc -l 174 [1]: https://bugs.chromium.org/p/chromium/issues/detail?id=717643 --- static/.gitignore | 1 + 1 file changed, 1 insertion(+) (limited to 'static/.gitignore') diff --git a/static/.gitignore b/static/.gitignore index 3153016b..3d4116d2 100644 --- a/static/.gitignore +++ b/static/.gitignore @@ -11,3 +11,4 @@ script.js server_connect.js types.js vevent.js +*.out.js -- cgit v1.2.3