Skip to content

Instantly share code, notes, and snippets.

@yanni4night
Created August 22, 2016 06:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yanni4night/802146c230caebf2b3af7375d321a894 to your computer and use it in GitHub Desktop.
Save yanni4night/802146c230caebf2b3af7375d321a894 to your computer and use it in GitHub Desktop.
Webpack with Gulp
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