Just commit all of family home before editing 'cause i just accidentally overwrote gaeastohuaosneuh

This commit is contained in:
benjamin melançon 2019-07-28 12:25:34 -04:00
parent 18bba535b4
commit 84de7930cb
64 changed files with 15325 additions and 0 deletions

View file

@ -0,0 +1,33 @@
/*eslint strict: ["error", "global"]*/
'use strict';
// If some JS components aren't es6 we want to simply move them
// into the dist folder. This allows us to clean the dist/js
// folder on build.
//=======================================================
// Include gulp
//=======================================================
var gulp = require('gulp');
//=======================================================
// Include Our Plugins
//=======================================================
var rename = require('gulp-rename');
// Export our tasks.
module.exports = {
// Moves JavaScript.
js: function() {
return gulp.src([
'./src/{global,layout,components}/**/*.js',
'!./src/{global,layout,components}/**/*.es6.js'
], { base: './' })
.pipe(rename(function (path) {
path.dirname = '';
return path;
}))
.pipe(gulp.dest('./dist/js'));
}
};