test_web/gulpfile.js

13 lines
351 B
JavaScript
Raw Permalink Normal View History

2017-05-25 08:44:58 +00:00
var gulp = require('gulp');
var webpack = require('webpack');
var webpackStream = require('webpack-stream');
var webpackDevServer = require("webpack-dev-server");
gulp.task('webpack', function (callback) {
var webpackConfig = require('./webpack.config');
return webpackStream(webpackConfig, webpack)
.pipe(gulp.dest('./dist'));
});