Skip to content

Instantly share code, notes, and snippets.

@Smolations
Created August 16, 2017 19:16
Show Gist options
  • Save Smolations/2e4028bc33c7b3fac10b1a18ea26e487 to your computer and use it in GitHub Desktop.
Save Smolations/2e4028bc33c7b3fac10b1a18ea26e487 to your computer and use it in GitHub Desktop.
Gulpfile
gulp.task('components:toolkitStandalone:js', 'builds the components toolkit javascript', ['doc-gen', 'components:components:css', 'components:toolkit:css'], () => {
const webpack = require('webpack-stream');
return gulp.src(`${paths.src.components}components.es6.js`)
.pipe(webpack(require('./webpack.toolkit.config.js')))
.pipe(gulp.dest(paths.dest.dist));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment