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
The current spec as written requires a backtracking parser, as it does not enforce that imports appear before they are used.
Writing a backtracking parser is significantly more work than writing a single-pass parser, and this makes implementing compatible tools harder.
I propose that the spec be amended to state that :import applies from that point in the file to the end of the file and does not modify anything earlier in the file.
The text was updated successfully, but these errors were encountered:
Simple string parser will be quite fast. Statements are simple to detect. Then will be replacement process by regular expression, which is still fast and simple. Doing traverse twice with postcss also not so significant in performance.
The current spec as written requires a backtracking parser, as it does not enforce that imports appear before they are used.
Writing a backtracking parser is significantly more work than writing a single-pass parser, and this makes implementing compatible tools harder.
I propose that the spec be amended to state that
:import
applies from that point in the file to the end of the file and does not modify anything earlier in the file.The text was updated successfully, but these errors were encountered: