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
@agatronic I noticed a regression today when working on a PR for another bug. Commit a702b28 introduced a bug in @import-once functionality which is visible in the tests. The import-once test demonstrates the issue well enough.
As the commit message says, its not a regression. I fixed a bug that was making less ignore import statements depending on the order of the io... You actually get the fail 1 time in 8 before the fix and this made it deterministic.
The problem is summed up in other bugs.. the CSS path isn't being adjusted, therefore actually import_once is correct as its referencing 2 different paths.
I left the tests failing as import behaviour needs to be sorted out.
Please could you take some time to state how you think it should work? e.g.
Should all urls be adjusted to be relative to the base path for both node.js and browser (or was this functionality purposefully removed) and if it should be fixed or put back in, should it be controlled by an option
should there be a difference between url("") and "" in terms of the way it is adjusted?
basically the node code never adjusts the paths. This is pretty fairly discussed in #331 so closing this as a duplicate. I have fixed the test until 331 is sorted out.
@agatronic I noticed a regression today when working on a PR for another bug. Commit a702b28 introduced a bug in
@import-once
functionality which is visible in the tests. The import-once test demonstrates the issue well enough.import-once.less
import/import-once-test-c.less
import/deeper/import-once-test-a.less
output
Don't have a chance to look into it right now, and you're more familiar with that part of the codebase than I am.
The text was updated successfully, but these errors were encountered: