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

Errors in css #94

Open
Hego2017 opened this issue Feb 5, 2020 · 2 comments
Open

Errors in css #94

Hego2017 opened this issue Feb 5, 2020 · 2 comments

Comments

@Hego2017
Copy link

Hego2017 commented Feb 5, 2020

Hi:

When I try to tip my own css, as "assets/style.css" as "style.css" in theme root, and run "npm run production" I have this errors, and production not working.
6:79988 ✖ Expected an empty line before property "border-top" order/properties-order 6:80176 ✖ Expected an empty line before property "width" order/properties-order 6:80199 ✖ Expected "overflow" to come before "height" order/properties-order 6:80199 ✖ Expected an empty line before property "overflow" order/properties-order 6:80406 ✖ Expected an empty line before property "display" order/properties-order 6:80420 ✖ Expected an empty line before property "margin" order/properties-order 6:80429 ✖ Expected an empty line before property "font-family" order/properties-order 6:80599 ✖ Expected "font-weight" to come before "font-style"

You are using @apply rule and custom property sets. This feature won't be included in the next major release of postcss-cssnext. This most likely won't get any more support from browser vendors as the spec is yet considered deprecated and alternative solutions are being discussed.

I tried deleting @import './_tailwind'; but it not working yet.

@EvanAgee
Copy link
Owner

EvanAgee commented Feb 6, 2020

@Hego2017 those are notices, not errors. They're being produced by stylelint and can be ignored OR you can make the suggested changes.

@Hego2017
Copy link
Author

Hego2017 commented Feb 7, 2020

Yes, thanks.
Then, I do not understand why 'npm run production' not working anyway.

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