vite: build includes @charset problem.
i have same problem.

css: { preprocessorOptions: { css: { charset: false } } } don’t working
_Originally posted by @mesutgok in https://github.com/vitejs/vite/issues/5655#issuecomment-979144222_
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 2
- Comments: 20 (5 by maintainers)
Same issue and I ended up adding the following in
vite.config.js:It works for me!
FYI as per https://github.com/evanw/esbuild/issues/1862 upgrading to esbuild 0.14.6 fixed this for me (charset removal config no longer required)
Excellent job!It works for me!
a screenshot is not a reproduction
would you be able to provide repo which is public? is better other people are able to give feedback on your issue