webpack with less and postcss autoprefixer

后端 未结 2 1563
鱼传尺愫
鱼传尺愫 2021-01-07 03:19

I\'m new to webpack and I\'m trying to set everything up to work on a react project. I have managed to get everything working in webpack as expected but have hit a road bloc

2条回答
  •  太阳男子
    2021-01-07 04:01

    I had the same problem and I fix it properly, but in my config, I used PostCSS with SCSS style. Clone and see PostCSS configuration on Webpack, it is so simple and works properly. I do not write my Webpack configs here because it is hard to read and use. Undoubtedly I didn't use separate PostCSS config file. simply you can write PostCSS configs inside Webpack configuration file. I preferred to separate Development and Production version of Webpack. See and if there is question please ask. I will be glad to answer.

提交回复
热议问题