Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

danielroe
Copy link
Member

@danielroe danielroe commented May 23, 2024

πŸ”— Linked issue

resolves #26379
closes #26551

πŸ“š Description

We now take full control of rendering public assets (#26163). But it is not possible to configure whether vite warns about public assets without providing a custom external function to rollup, which would mean taking complete control of externals, which we wouldn't want.

https://github.com/vitejs/vite/blob/v5.2.11/packages/vite/src/node/plugins/css.ts#L350-L355

So this obscures the (harmless) warning when it matches a public asset. It will still warn if a nonexistent public asset or other pattern is passed.

Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warnings at build time [x] referenced in [y] didn't resolve at build time, it will remain unchanged to be resolved at runtime
1 participant