-
-
Notifications
You must be signed in to change notification settings - Fork 320
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
Node#moveTo was deprecated. Use Container#append. #379
Comments
What version of cssnano are you using? |
3.10.0 |
Do you have a stacktrace? |
It's because cssnano 3.x isn't officially compatible with PostCSS 6 - it mostly works but we use a couple of old methods, so that's why you see the warnings. Can you give version 4 a try and let me know how you get on?
|
Aha. That helped. |
@andyjansson Didn't quite understand what you mean |
There were a lot of changes that were done without publishing for a while, so I wanted to make sure everything was OK before solidifying the API. I think it's mostly there though, but would appreciate some feedback. 😄 |
Ок. thx for helping |
@ben-eb When switching from I'm on the latest postcss & postcss-loader, and run autoprefixer (together with other plugins) through it successfully. PS: I do use the following config. {
discardUnused: {
fontFace: false // Required for fonts.css
}
} |
Wait, I'll open a new issue. |
Getting exactly the same error message on my webpack config using |
@jimblue With the default preset yes, it is less effective but this is by design. From the release notes:
Not sure on final release date, I think this will require another release candidate. Mostly it's there though. |
Hej @ben-eb, I just saw that there where 6 commits to master since this v4.0.0-rc.2. Cheers, Michael |
+1 |
Something to do with 'advanced' presets: What is the equiv for v4.0.0-rc.2. |
I updated to v4.0.0-rc.2 but I'm still getting the same error unfortunately... |
Please update "$angular/cli" to "1.7.3" Step 1: npm remove @angular/cli Still stuck then update your package.json with { "$angular/cli": "1.7.3" } and run npm install Note: Please replace $ with @ before angular/cli Tested and working for me |
typo in Step3: npm install -g |
Get message when using cssnano as plugin in gulp-postcss
The text was updated successfully, but these errors were encountered: