fix: resolve frontend build failures in CI
- Remove noautoinject Wails scripts from config.html (Vite 6 requires type="module" on all script tags; Wails auto-injects them anyway). - Replace vite-tsconfig-paths plugin with Vite native resolve.alias, fixing path alias resolution that was silently broken during builds. - Remove unused vite-tsconfig-paths dependency.
This commit is contained in:
@@ -2,11 +2,6 @@
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<!-- manually including wails runtime -->
|
||||
<meta name="wails-options" content="noautoinject" />
|
||||
<script src="/wails/ipc.js"></script>
|
||||
<script src="/wails/runtime.js"></script>
|
||||
|
||||
<meta charset="UTF-8" />
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
|
||||
<link href="./config.css" rel="stylesheet" />
|
||||
|
||||
Reference in New Issue
Block a user