Last active
August 29, 2015 14:25
-
-
Save the-simian/f15d64f71a5ec70e0f56 to your computer and use it in GitHub Desktop.
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('webpack'); | |
var config = ('../../../webpack.config') | |
var config = { | |
/// | |
}; | |
function buildScripts(callback) { | |
function doneWebpack(err, stats) { | |
if(err) { | |
console.log('Error', err); | |
} | |
else { | |
console.log(stats.toString()); | |
} | |
callback(); | |
} | |
webpack(config) | |
.run(doneWebpack); | |
} | |
gulp.task('build-scripts', buildScripts); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment