You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
I've got lots of projects which require themselves other projects. I have the same folder/file convention naming in each of these project and it could create some non explicite conflicts.
Why? Because I do that: @import "views/index.css";
cssnext can be lost if you do @import "views/index.css"; in a submodule and in your module, you've already have "views/index.css".
To fix it, you have to specify ./ like @import "./views/index.css";. It's maybe obvious for some of you but it could be added in the doc I think. What do you think?
The text was updated successfully, but these errors were encountered:
@import "views/index.css"; and @import "./views/index.css"; are just exactly the same, per CSS spec. Except if views is a module. But I think local files are resolved first.
If you want to do something, please first open a PR on postcss-import with tests to describe an eventual real issue.
I've got lots of projects which require themselves other projects. I have the same folder/file convention naming in each of these project and it could create some non explicite conflicts.
Why? Because I do that:
@import "views/index.css";
cssnext can be lost if you do
@import "views/index.css";
in a submodule and in your module, you've already have"views/index.css"
.To fix it, you have to specify
./
like@import "./views/index.css";
. It's maybe obvious for some of you but it could be added in the doc I think. What do you think?The text was updated successfully, but these errors were encountered: