0%

webpack之babel

1
2
3
4
5
loader: 'babel-loader',//由babel变为babel-loader 
exclude:__dirname +'/node_modules/',//这种方式更快
include:__dirname+'/src/',//这种方式更快
exclude:path.resolve(__dirname ,'node_modules'),
include:path.resolve(__dirname ,'src'),
坚持技术分享,您的支持将鼓励我继续创作!

欢迎关注我的其它发布渠道