Remove the boot.js webpack require() parts

This commit is contained in:
djmaze 2020-09-03 16:57:15 +02:00
parent fcaa2fd6de
commit e858685769
4 changed files with 2 additions and 34 deletions

View file

@ -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 |
|--------------- |--------: |--------: |--------: |--------: |--------: |

View file

@ -1,22 +0,0 @@
<div id="rl-loading" class="thm-loading" style="opacity:0">
<div id="rl-loading-desc"></div>
<div class="e-spinner">
<div class="e-bounce bounce1"></div>
<div class="e-bounce bounce2"></div>
<div class="e-bounce bounce3"></div>
</div>
</div>
<div id="rl-loading-error" class="thm-loading">
An error occurred. <br /> Please refresh the page and try again.
</div>
<div id="rl-content">
<div id="rl-popups"></div>
<div id="rl-center">
<div id="rl-top"></div>
<div id="rl-left"></div>
<div id="rl-right"></div>
<div id="rl-bottom"></div>
</div>
</div>
<div id="rl-templates"></div>
<div id="rl-hidden"></div>

View file

@ -1,8 +0,0 @@
#rl-content{
display: none;
}
.internal-hiddden{
display: none !important;
}

View file

@ -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 = '<div id="rl-loading" class="thm-loading" style="opacity:0">\
<div id="rl-loading-desc"></div>\
<div class="e-spinner">\