meta: switch to compilation via gulp

This commit is contained in:
Kazhnuz 2020-04-29 17:15:25 +02:00
parent 5b1878ab7d
commit d48388420d
52 changed files with 4110 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
dist/
node_modules/

26
gulpfile.js Normal file
View file

@ -0,0 +1,26 @@
const { src, dest, parallel } = require('gulp');
const include = require('gulp-include');
const sass = require('gulp-sass');
const cleanCSS = require('gulp-clean-css');
sass.compiler = require('node-sass');
function html() {
return src('static/*')
.pipe(dest('dist'))
}
function dep() {
return src(['dep/**/*'])
.pipe(dest('dist/dep'));
}
function assets() {
return src(['assets/**/*'])
.pipe(dest('dist'));
}
exports.html = html;
exports.dep = dep;
exports.assets = assets;
exports.default = parallel(html, dep, assets);

4082
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff