Fix fonts, better JS compression, remove unused print.scss

This commit is contained in:
2021-02-01 15:31:10 +00:00
parent 20e5d25130
commit 01ed05ecd9
16 changed files with 175 additions and 374 deletions

View File

@@ -2,7 +2,7 @@
var gulp = require('gulp');
const terser = require('gulp-terser');
const terser = require('gulp-uglify');
const sass = require('gulp-sass');
const flatten = require('gulp-flatten');
const autoprefixer = require('autoprefixer')
@@ -62,7 +62,7 @@ function scripts() {
}
function browserSync(done) {
spawn('python', ['manage.py', 'runserver', '--nostatic'], {stdio: 'inherit'});
spawn('python', ['manage.py', 'runserver', '--nostatic'/*For Whitenoise, better matches prod */], {stdio: 'inherit'});
// TODO Wait for Django server to come up before browsersync, it seems inconsistent
browsersync.init({
notify: true,