2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-16 01:37:07 +00:00
nativefier/gulp/build/build-app.js

13 lines
324 B
JavaScript
Raw Normal View History

2016-02-27 16:45:44 +00:00
import gulp from 'gulp';
import webpack from 'webpack-stream';
2018-07-21 13:16:02 +00:00
import PATHS from '../helpers/src-paths';
2016-02-27 16:45:44 +00:00
const webpackConfig = require('./../../webpack.config.js');
2016-02-27 16:45:44 +00:00
2018-05-24 07:02:44 +00:00
gulp.task('build-app', ['build-static'], () =>
gulp
.src(PATHS.APP_MAIN_JS)
.pipe(webpack(webpackConfig))
.pipe(gulp.dest(PATHS.APP_DEST)),
);