diff options
| author | Tobias Järvelöv <tobias.jarvelov@mullvad.net> | 2025-02-17 09:42:12 +0100 |
|---|---|---|
| committer | Markus Pettersson <markus.pettersson@mullvad.net> | 2025-02-25 12:51:51 +0100 |
| commit | 2bd8d3cefb6621bdfe56a60bf4e17c30ea9da0ff (patch) | |
| tree | 35caf3616cb3d0e04c0cd9186ca2c6036d86cc14 /desktop | |
| parent | 0bfbdf7ac15e3576ba4a03a449be3050ba38881b (diff) | |
| download | mullvadvpn-2bd8d3cefb6621bdfe56a60bf4e17c30ea9da0ff.tar.xz mullvadvpn-2bd8d3cefb6621bdfe56a60bf4e17c30ea9da0ff.zip | |
Change script file to load in index.html after vite migration
With the migration to vite we do not need to
pre-bundle or transpile code before referencing
it in the index file, as vite will resolve and
perform the necessary actions for us, i.e.
transpile the typescript and bundle it.
The global exports variable was only used for
the gulp bundle and has therefore also been removed.
Diffstat (limited to 'desktop')
| -rw-r--r-- | desktop/packages/mullvad-vpn/index.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/packages/mullvad-vpn/index.html b/desktop/packages/mullvad-vpn/index.html index 8e76020238..ddf2141862 100644 --- a/desktop/packages/mullvad-vpn/index.html +++ b/desktop/packages/mullvad-vpn/index.html @@ -15,7 +15,6 @@ </head> <body> <div id="app"></div> - <script>var exports = {};</script> - <script src="./bundle.js"></script> + <script type="module" src="/src/renderer/index.ts"></script> </body> </html> |
