From 859a6fb938bb9ee2a317c46dfa4fcc1af49608f0 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 18 Feb 2021 10:34:06 +0000 Subject: Add latest changes from gitlab-org/gitlab@13-9-stable-ee --- .../webpack_non_compiled_placeholder.js | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 app/assets/javascripts/webpack_non_compiled_placeholder.js (limited to 'app/assets/javascripts/webpack_non_compiled_placeholder.js') diff --git a/app/assets/javascripts/webpack_non_compiled_placeholder.js b/app/assets/javascripts/webpack_non_compiled_placeholder.js new file mode 100644 index 00000000000..8cd1d2eb2ca --- /dev/null +++ b/app/assets/javascripts/webpack_non_compiled_placeholder.js @@ -0,0 +1,24 @@ +const div = document.createElement('div'); + +Object.assign(div.style, { + width: '100vw', + height: '100vh', + position: 'fixed', + top: 0, + left: 0, + 'z-index': 100000, + background: 'rgba(0,0,0,0.9)', + 'font-size': '25px', + 'font-family': 'monospace', + color: 'white', + padding: '2.5em', + 'text-align': 'center', +}); + +div.innerHTML = ` +

🧙 Webpack is doing its magic 🧙

+

If you use Hot Module reloading, the page will reload in a few seconds.

+

If you do not use Hot Module reloading, please reload the page manually in a few seconds

+`; + +document.body.append(div); -- cgit v1.2.1