exclude:/node_modules/,
include:/src/
或者:__dirname+'/node_modules'
速度580ms飘过
include:/src/
或者:__dirname+'/node_modules'
速度580ms飘过
2017-07-21
按照官网的方法,还是放弃query了。引用.babelrc文件,添加{“preset:['env']}
2017-07-20
一安装html-webpack-plugin配置好后运行,npm run webpack 报错,webpack 也报错,都是各种模块找不到 Cannot find module 'string-width' Cannot find module 'tapable' 我的 node 6.2.0 "html-webpack-plugin": "^2.29.0", "webpack": "^3.3.0",
2017-07-18
我要改成这样才对,不然一直报错
output:{
path: __dirname+'/dist',
filename:"./js/[name]-[chunkhash].js"
}
output:{
path: __dirname+'/dist',
filename:"./js/[name]-[chunkhash].js"
}
2017-07-17
output:{
path: __dirname+'/dist',
filename:"./dist/js/[name]-[chunkhash].js"
}
path: __dirname+'/dist',
filename:"./dist/js/[name]-[chunkhash].js"
}
2017-07-17