Created
August 22, 2016 06:42
-
-
Save yanni4night/802146c230caebf2b3af7375d321a894 to your computer and use it in GitHub Desktop.
Webpack with Gulp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require(‘gulp’); | |
var webpack = require(‘gulp-webpack’); | |
gulp.task(‘default’, function() { | |
return gulp.src(‘src/entry.js’) | |
.pipe(webpack()) | |
.pipe(gulp.dest(‘dist/’)); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment