Modules and maintenance

- Update to modules
- Added ESLint configuration
- Tried to fix SASS but still no automatic reload
- Gulp not working anymore
This commit is contained in:
Stephan Hagedorn 2022-08-08 21:43:54 +02:00
parent 6b217b6ebb
commit 534115ff28
7 changed files with 749 additions and 1033 deletions

View file

@ -20,6 +20,6 @@ const config = {
titlePrefix: ' - HIPPIE',
pageBase: './'
}
}
};
module.exports = config;

View file

@ -1,9 +1,10 @@
const config = require('../config');
const browserSync = require('browser-sync'), server = browserSync.create();
// const browserSync = require('browser-sync'), server = browserSync.create();
const server = require('browser-sync').create();
// Automagically reload browsers
function reload(done) {
server.reload();
server.reload;
done();
}
@ -21,5 +22,5 @@ function serve(done) {
module.exports = {
serve: serve,
reload: reload,
reload: reload
};