webpack-configuration:Webpack的配置生成器

Webpack的配置助手例子var baseConfig = { module : { loaders : [ { test : / . ( png | jpg ) $ / , loader : "url?limit=1000" } , { test : / . html $ / , loader : "html" } ] } , } ; var configurationCreator = require ( 'webpack-configuration' ) ; module . exports = configurationCreator ( baseConfig , { commonsChunk : true , extractCSS : true , path : 'dist/' , publicPath
zip 文件大小:4.39KB