Replies: 2 comments
-
Running into the same issue. I have a library that omits invalid CSS and PostCSS refuses to compile it. However it's fine when it's loaded directly in the browser, which is fine by me. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ShayDavidson I was able to workaround it with using the copy plugin to copy the css and manually link it in the html.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an import line like this in one of my js files
I get the following warning when running build
It appears the css provided from this particular module has some invalid css. However this exposed to me the problem that it is trying to minify and already minified css file. How can I instruct vite not to minify this css file and import it without processing it? I don't want to spend extra time minifying a file that is already processed by the package.
Beta Was this translation helpful? Give feedback.
All reactions