postcss-custom-properties icon indicating copy to clipboard operation
postcss-custom-properties copied to clipboard

Non-passive change for ImportFrom Priority

Open emilyrohrbough opened this issue 5 years ago • 2 comments

Summary

Recently the importFrom property was given maximum priority in #222 to resolve #215. The change in priority was no-passive and is breaking the theme strategy in our builds. We need to lock in at 9.1.1 to maintain our applications theming.

Proposed Solution

Is it possible to revert this change and add an additional property to specify the priority order? The default order would then be the import order before #222 and if the importFrom needed precedence, this can be indicated via configuration.

emilyrohrbough avatar Oct 16 '20 13:10 emilyrohrbough

Fixed as of 12.1.0

Antonio-Laguna avatar Jan 12 '22 09:01 Antonio-Laguna

@emilyrohrbough Took a while but there is a new flag (overrideImportFromWithRoot: true) to control this behaviour.

romainmenke avatar Jan 12 '22 13:01 romainmenke