Skip to content

Help wanted in vite with minified css #213

Answered by Mister-Hope
Mister-Hope asked this question in Q&A
Discussion options

You must be logged in to vote

Solution: clearing the cache and rebuild do helpes.

Just for anyone who is trying to import a module with it's main field not pointing to a js file:

Unlike webpack, vite can not process it. So you should always use the full path to make it compatable with vite.

Replies: 1 comment

Comment options

Mister-Hope
Jun 13, 2021
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by Mister-Hope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant