gulp.task('webpack-scripts', function() { return gulp.src('src/entry.js') .pipe(webpack({ entry: entry_js, output: { path: '/dist', filename: '[name].js', chunkFilename: '[name].js' }, module: { loaders: [{ test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader' }] } })).pipe(gulp.dest('./dist/debugjs'));});gulpfile.js配置入口代码的如上,各位知道这是什么原因吗
添加回答
举报
0/150
提交
取消