13 lines
351 B
JavaScript
13 lines
351 B
JavaScript
|
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'));
|
||
|
});
|
||
|
|