Skip to content

[postcss-custom-properties] : replacement focussed on importFrom / exportTo #533

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

Closed
romainmenke opened this issue Jul 9, 2022 · 3 comments

Comments

@romainmenke
Copy link
Member

romainmenke commented Jul 9, 2022

see : #527

  • importFrom and exportTo have been removed from this plugin.
  • a new plugin needs to be created to replace it.
  • this new plugin would only do importFrom / exportTo

Although we have the design tokens plugin it is not a drop in replacement and has a much smaller scope. Providing a drop in replacement will cause less issues for users.

@romainmenke
Copy link
Member Author

romainmenke commented Nov 7, 2022

I am considering not creating/shipping a drop in replacement.
Main reason not to, would be to save us some bandwidth.
I don't really want to poor time and effort into these as I personally view it as a dead end.

  • users can pin the current version of the plugin and keep using that for the next couple of years
  • users can temporarily switch to non-dynamic imports/exports of this data
  • users can migrate to a successor plugin
  • users can ask for new features in one of the successor plugins
  • anyone is free to take the old plugins and continue maintaining them.

@Antonio-Laguna do you have thoughts about this?

@romainmenke
Copy link
Member Author

The drop-in replacements have been created but we will not be releasing this.
We have decided against taking on maintenance for these plugins.

Anyone is free to take the source code for these replacement plugins and release them as their own!

#734

Repository owner moved this from Todo to To be released in PostCSS Preset Env Nov 30, 2022
@romainmenke
Copy link
Member Author

PostCSS JIT props is also an interesting replacement : https://github.com/GoogleChromeLabs/postcss-jit-props

@romainmenke romainmenke moved this from To be released to Done in PostCSS Preset Env Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

1 participant