scss styles not reflecting after publishing vite-react app as a package #14479
Unanswered
bill-sketch
asked this question in
Q&A
Replies: 1 comment
-
are you solve this problem? |
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've published a (vite+react-ts) app as npm package, in my component, I import the style like this: import "./style.scss" in my local machin and development mode it works fine, but the styling not reflecting when I use my published package in other apps.
the app works fine, only no css loaded.
Here is my vite.config.ts:
My package.json:
Beta Was this translation helpful? Give feedback.
All reactions