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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
parcel build fails with "semantic.min.css:undefined:undefined: decl.moveTo is not a function" #2505
Comments
Might be a cssnano bug, does it work with |
Yes, works with
|
@devmao would be great if you could experiment a little and update the htmlnano dep manually to test it. |
The latest |
@devmao Was this fixed by your PR? |
This still happens using parcel-bundler inde.html:
style.css:
|
Still the same problem here. I can fix it only by using |
That helped as a quick temporary solution. But that's a hack. We do need minification for production. |
Yes, I'm having the same issue. |
Was getting the same issue with parcel 1.12.5 and cssnano v5. Downgraded cssnano to 4.1.11 and it started building.
Not sure if it will fix anyone else's issue, but worked for us. |
I lov u bro it works for me |
Where did you run those commands? |
Run those commands wherever your package.json file is |
thank you it worked |
Thank you. |
馃悰 bug report
I'm using Semantic-UI-React and the
build
fails. In dev, it's working fine.In my
index.js
, I'm importing the Semantic CSS file as follow:馃帥 Configuration (.babelrc, package.json, cli command)
My
.babelrc
:馃 Expected Behavior
The
build
should not failed!馃槸 Current Behavior
The
build
fails with this error:馃拋 Possible Solution
A downgrade of Semantic-UI or Parcel(?)
馃敠 Context
I'm importing Sementic-UI-CSS as described in Sementic-UI documentation
馃捇 Code Sample
馃實 Your Environment
The text was updated successfully, but these errors were encountered: