From e85868576914324650897653d4368c03fc38085a Mon Sep 17 00:00:00 2001 From: djmaze Date: Thu, 3 Sep 2020 16:57:15 +0200 Subject: [PATCH] Remove the boot.js webpack require() parts --- README.md | 4 ++-- dev/Html/Layout.html | 22 ---------------------- dev/Styles/@Boot.css | 8 -------- dev/boot.js | 2 -- 4 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 dev/Html/Layout.html delete mode 100644 dev/Styles/@Boot.css diff --git a/README.md b/README.md index e079824bc..b4c452e65 100644 --- a/README.md +++ b/README.md @@ -88,10 +88,10 @@ Things might work in Edge 18, Firefox 50-62 and Chrome 54-68 due to one polyfill |----------- |--------: |--------: | |admin.js |2.130.942 | 958.397 | |app.js |4.184.455 |2.586.232 | -|boot.js | 671.522 | 6.947 | +|boot.js | 671.522 | 6.884 | |libs.js | 647.614 | 312.269 | |polyfills.js | 325.834 | 0 | -|TOTAL |7.960.367 |3.863.845 | +|TOTAL |7.960.367 |3.863.782 | |js/min/* |1.14.0 |native |gzip 1.14 |gzip |brotli | |--------------- |--------: |--------: |--------: |--------: |--------: | diff --git a/dev/Html/Layout.html b/dev/Html/Layout.html deleted file mode 100644 index 40907cf08..000000000 --- a/dev/Html/Layout.html +++ /dev/null @@ -1,22 +0,0 @@ -
-
-
-
-
-
-
-
-
- An error occurred.
Please refresh the page and try again. -
-
-
-
-
-
-
-
-
-
-
-
diff --git a/dev/Styles/@Boot.css b/dev/Styles/@Boot.css deleted file mode 100644 index 14b337997..000000000 --- a/dev/Styles/@Boot.css +++ /dev/null @@ -1,8 +0,0 @@ - -#rl-content{ - display: none; -} - -.internal-hiddden{ - display: none !important; -} diff --git a/dev/boot.js b/dev/boot.js index b26455331..1b09d2916 100644 --- a/dev/boot.js +++ b/dev/boot.js @@ -235,7 +235,6 @@ if (!navigator || !navigator.cookieEnabled) { doc.location.replace('./?/NoCookie'); } -// require('Styles/@Boot.css'); writeCSS('#rl-content{display:none;}.internal-hiddden{display:none !important;}'); if (app) { @@ -243,7 +242,6 @@ if (app) { meta = doc.getElementById('app-boot-data'), options = meta ? JSON.parse(meta.getAttribute('content')) || {} : {}; -// require('Html/Layout.html') app.innerHTML = '
\
\
\