WeiJie

Results 1 comments of WeiJie

我想要自定义 webpack 配置应该如何操作,比如我想加上 stylelint,我通过 webpack.config.js 的方式没有成功,如下: webpack.config.js ``` javascript const StyleLintPlugin = require('stylelint-webpack-plugin'); export default function (webpackConfig, env) { webpackConfig.plugins.push(new StyleLintPlugin()); return webpackConfig; } ``` 这是我的目录结构 ![image](https://user-images.githubusercontent.com/6360305/39098858-c0c95af6-46a3-11e8-8cbb-ecb45d055aad.png)