webpack配置出的问题

1.Tapable.plugin is deprecated. Use new API on `.hooks` instead

https://blog.csdn.net/u011215669/article/details/81269386

 

2、Plugin/Preset files are not allowed to export objects, only functions

因为 babel 的版本冲突。

"babel-core": "^6.26.3",
    "babel-loader": "^7.1.5",
    "babel-preset-env": "^1.7.0",
    "babel-preset-es2015": "^6.24.1",
    "babel-preset-react": "^6.24.1",

 

3.npm ERR! Error: EACCES: permission denied, access

mac 安装node-sass

https://blog.csdn.net/testcs_dn/article/details/78869419

 

https://www.jianshu.com/p/6712e4e4b8fe

 

你可能感兴趣的:(webpack配置出的问题)