Avoid top-level await#37272
Conversation
|
Double import can't be the final solution. We should research "manifest parser's bug" but I still don't know exactly what that bug actually is. |
Where is the "double import"? |
|
|
No, they aren't. The first import only tells vite about the dependency, it doesn't really import anything. Still I think you need to take a look at how "manifest.json" and "import css" works |
|
Importing CSS in vite causes it to insert that CSS into |
|
That's not a guess, that is my experience from working with vite since ~5 years. I just don't have motivation to read vite source code right now. |
Fine, explain the "index.css" "double import", it was written by you. |
So you have motivation to keep wasting my time? |
* main: (25 commits) Add WebKit to e2e test matrix (go-gitea#37298) Don't add useless labels which will bother changelog generation (go-gitea#37267) Fix Repository transferring page (go-gitea#37277) Stabilize issue-project e2e test, increase timeout factor (go-gitea#37297) Fix Mermaid diagrams failing when node labels contain line breaks (go-gitea#37296) Add project column picker to issue and pull request sidebar (go-gitea#37037) Fix container auth for public instance (go-gitea#37290) Refactor frontend `tw-justify-between` layouts to `flex-left-right` (go-gitea#37291) Update Nix flake (go-gitea#37284) Workflow Artifact Info Hover (go-gitea#37100) [skip ci] Updated translations via Crowdin release notes for 1.26.0 (go-gitea#37282) Enhance GetActionWorkflow to support fallback references (go-gitea#37189) Refactor LDAP tests (go-gitea#37274) Remove `SubmitEvent` polyfill (go-gitea#37276) Upgrade go-git to v5.18.0 (go-gitea#37268) Avoid top-level await (go-gitea#37272) Frontend iframe renderer framework: 3D models, OpenAPI (go-gitea#37233) pull: Fix CODEOWNERS absolute path matching. (go-gitea#37244) Swift registry metadata: preserve more JSON fields and accept empty metadata (go-gitea#37254) ...


No description provided.