-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Brightness slider not visible on production build #13
Comments
It's as if this import doesn't get imported at all on production builds: |
It doesn't help to copy the source scss out of node_modules into the project's assets: Same result, styles are present at dev runtime and lost on production build. |
Might be related: vuejs/vue-cli#4832 |
I've been pulling my hair for more than hour and I'm lost. Do you have an idea what's possibly wrong here, @j6s? I also tried explicitly en- or disabling CSS extraction, had absolutely no effect (besides a css file being either present or not in the dist bundle, but one without the slider component's styles), the imported scss is always missing in the production build:
|
I have the same problem with some plugins |
o meu caso, o problema era um plugin do Tailwind esta implementado em meu projeto devido a uma dependecia que o precisava... resolvi removendo ele... algum tree-shaking do purgecss. |
According to google translate:
@helioh3 I'd really appreciate if we'd stick to english here. |
@j6s sorry, it was automatic ... thanks! |
Somehow styling for the brightness slider is lost on production builds (
yarn build
). It seems not related to PurgeCSS, as that is configured to only purge Tailwind's CSS and base styles from the component are visible, only the CSS custom properties for the background colors are lost.Dev mode:
![image](https://user-images.githubusercontent.com/435825/83954406-36947780-a849-11ea-8ae2-cf210338fbd2.png)
The text was updated successfully, but these errors were encountered: