-
Notifications
You must be signed in to change notification settings - Fork 18
Wepback #59
Comments
You should take a look at https://github.com/postcss/postcss-loader |
@dotnetCarpenter please elaborate? |
@sidonaldson Instead of using pixem directly with Webpack, use postcss-loader with pixrem as plugin. https://github.com/postcss/postcss-loader#plugins |
@dotnetCarpenter this is a postCSS plugin. Why and how would I use it directly with Webpack. Clearly you didn't read my question - of course I'm using postcss-loader. |
{ my webpack config ,also it's did not work |
my webpack also not working ERROR in ./src/index.css (./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/postcss-loader/src??postcss!./src/index.css) |
options: { |
Has anyone used this with webpack and PostCSS?
You can use
postcss.config.js
to load variables and plugins and i've tried the following:However it doesn't work. Any help is hugely appreciated.
The text was updated successfully, but these errors were encountered: