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

Add autoprefixer for insertion of CSS browser prefixes where needed #255

Closed
bregenspan opened this issue Apr 8, 2019 · 0 comments
Closed

Comments

@bregenspan
Copy link
Contributor

bregenspan commented Apr 8, 2019

Issue description

Re: #246 (comment), adding in a CSS autoprefixer would allow clean use of CSS4 features (such as the user-select property in that example).

Note: https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/master/webpack.config.js already uses preset-env with browser versions configured, and already also uses postcss-loader, so this is probably just a matter of adding the autoprefixer to postcss-loader config (https://github.com/postcss/postcss-loader#autoprefixing) and ensuring it uses matching environment settings to the Babel preset.

Technical info

  • Webpack Bundle Analyzer version: 3.2.0
  • Webpack version: N/A
  • Node.js version: N/A
  • npm/yarn version: N/A
  • OS: N/A
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