Update tasks - remove gulp (replaced by node scripts, working with mconfig) + esbuild (no more es5 support) + add critical css in config file

This commit is contained in:
Quentin Hocdé
2020-11-27 16:01:54 -05:00
parent e686689b52
commit 2e7bb3b482
24 changed files with 7076 additions and 97 deletions

View File

@@ -21,6 +21,7 @@ window.onload = (event) => {
function init() {
globals();
app.init(app);
html.classList.add('is-loaded');

View File

@@ -7,6 +7,7 @@ export default class extends module {
}
init() {
const load = new modularLoad({
enterDelay: 0,
transitions: {

View File

@@ -7,6 +7,7 @@ export default class extends module {
}
init() {
this.scroll = new LocomotiveScroll({
el: this.el,
smooth: true

View File