Skip to content
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

Container#eachAtRule is deprecated. Node#before is deprecated. #77

Closed
dy opened this issue Aug 24, 2015 · 1 comment
Closed

Container#eachAtRule is deprecated. Node#before is deprecated. #77

dy opened this issue Aug 24, 2015 · 1 comment

Comments

@dy
Copy link

dy commented Aug 24, 2015

I use postcss-import with postcss-cli as this:

postcss -u postcss-import ./index.css > test/bundle.css

My index.css:

@import 'other.css';

My other.css:

a {}

In terminal I get:

> postcss -u postcss-import ./index.css > test/bundle.css

Container#eachAtRule is deprecated. Use Container#walkAtRules instead.
Node#before is deprecated. Use Node#raws.before
[TypeError: Cannot read property 'before' of undefined]
...

Versions:

$ npm list postcss
[email protected] c:\path\to\xxx
├─┬ [email protected]
│ └── [email protected]
└─┬ [email protected]
  └── [email protected]

Not sure whether it is postcss-cli or postcss-import issue.

@MoOx
Copy link
Contributor

MoOx commented Aug 25, 2015

Dup of #75

@MoOx MoOx closed this as completed Aug 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants