Skip to content
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

Make postcss-preset-env processable by Webpack #221

Closed
2 tasks done
romainmenke opened this issue Feb 2, 2022 · 5 comments
Closed
2 tasks done

Make postcss-preset-env processable by Webpack #221

romainmenke opened this issue Feb 2, 2022 · 5 comments
Assignees
Labels
feature request New feature or request

Comments

@romainmenke
Copy link
Member

romainmenke commented Feb 2, 2022

Currently you can't bundle postcss-preset-env with Webpack (and probably other bundlers)
This is not something we currently support or test for.

But it should also be low effort to get it working.
Needs investigating first.

  • what is wrong now? -> inconsistencies in plugins
  • can we have tests for this without adding too much bloat? -> kinda
@romainmenke romainmenke added the feature request New feature or request label Feb 2, 2022
@z0h3
Copy link

z0h3 commented Feb 2, 2022

Thanks for your help! Waiting for updates.

@romainmenke
Copy link
Member Author

@z0h3 We have found some inconsistencies in plugins and package.json files.
When we fixed those Webpack builds started working : #222

It is however important to note that we can't consider bundling through Webpack a feature of postcss-preset-env.

At the moment postcss-preset-env is considered a final product and intended to be used as-is.

We will try to keep Webpack bundling supported and added tests for this.
If it breaks in a future update we will note this in the change logs.

We'll keep you updated on releases for these fixes.

@Antonio-Laguna Antonio-Laguna self-assigned this Feb 3, 2022
@z0h3
Copy link

z0h3 commented Feb 4, 2022

Great job!

@romainmenke
Copy link
Member Author

@z0h3 All packages have been released.
Can you check if this now works for you?

@z0h3
Copy link

z0h3 commented Feb 7, 2022

I confirm. Now it works correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
No open projects
Archived in project
Development

No branches or pull requests

3 participants