From 50b3f5db008f26197966b2e8778c4df9e7109749 Mon Sep 17 00:00:00 2001 From: Mathieu Suen Date: Tue, 25 May 2021 14:13:52 +0200 Subject: SONAR-14387 Remove support of legacy browser --- .../src/pages/requirements/requirements.md | 1 - server/sonar-web/config/webpack.config.js | 74 ---------------------- server/sonar-web/public/index.html | 1 - server/sonar-web/scripts/build.js | 5 +- 4 files changed, 1 insertion(+), 80 deletions(-) (limited to 'server') diff --git a/server/sonar-docs/src/pages/requirements/requirements.md b/server/sonar-docs/src/pages/requirements/requirements.md index 9b98821984d..7fe079d4528 100644 --- a/server/sonar-docs/src/pages/requirements/requirements.md +++ b/server/sonar-docs/src/pages/requirements/requirements.md @@ -62,7 +62,6 @@ To get the full experience SonarQube has to offer, you must enable JavaScript in | Browser | | | --------------------------- | --------------------------------------- | -| Microsoft Internet Explorer | ![](/images/check.svg) IE 11 | | Microsoft Edge | ![](/images/check.svg) Latest | | Mozilla Firefox | ![](/images/check.svg) Latest | | Google Chrome | ![](/images/check.svg) Latest | diff --git a/server/sonar-web/config/webpack.config.js b/server/sonar-web/config/webpack.config.js index d3e3db76a31..de4f583c043 100644 --- a/server/sonar-web/config/webpack.config.js +++ b/server/sonar-web/config/webpack.config.js @@ -29,30 +29,6 @@ const InterpolateHtmlPlugin = require('./InterpolateHtmlPlugin'); const paths = require('./paths'); const utils = require('./utils'); -/* - This webpack config is actually two: one for modern browsers and one for the legacy ones (e.g. ie11) - - The modern one transpilies the code to ES2018 (i.e. with classes, async functions, etc.) and - does not include any polyfills. It's included in the result index.html using <% for (let chunk in htmlWebpackPlugin.files.chunks) { %> - <% } %> diff --git a/server/sonar-web/scripts/build.js b/server/sonar-web/scripts/build.js index 4f29e203185..8d005375e5c 100644 --- a/server/sonar-web/scripts/build.js +++ b/server/sonar-web/scripts/build.js @@ -41,10 +41,7 @@ function build() { process.exit(1); } reportBuildStats(stats.stats[0], 'modern'); - if (release) { - console.log(); - reportBuildStats(stats.stats[1], 'legacy'); - } + console.log(chalk.green.bold('Compiled successfully!')); }); } -- cgit v1.2.3