2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-14 09:04:04 +00:00
nativefier/gulp/build/build-app.js
2018-07-21 09:16:02 -04:00

13 lines
324 B
JavaScript

import gulp from 'gulp';
import webpack from 'webpack-stream';
import PATHS from '../helpers/src-paths';
const webpackConfig = require('./../../webpack.config.js');
gulp.task('build-app', ['build-static'], () =>
gulp
.src(PATHS.APP_MAIN_JS)
.pipe(webpack(webpackConfig))
.pipe(gulp.dest(PATHS.APP_DEST)),
);