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

Minor docs update - esbuild-sass-plugin contains autoprefixer #178

Open
anselmbradford opened this issue May 16, 2024 · 0 comments
Open

Comments

@anselmbradford
Copy link

https://github.com/glromeo/esbuild-sass-plugin?tab=readme-ov-file#--postcss contains the line

 const {css} = await postcss([autoprefixer, postcssPresetEnv({stage: 0})]).process(source)

However, postcss-preset-env contains autoprefixer already https://github.com/csstools/postcss-plugins/tree/main/plugin-packs/postcss-preset-env#autoprefixer

It's kind of nice in the example to show how two plugins could be passed to postcss, but maybe choose another for autoprefixer in the example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant