diff options
Diffstat (limited to 'server/sonar-web/config/esbuild-config.js')
-rw-r--r-- | server/sonar-web/config/esbuild-config.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/config/esbuild-config.js b/server/sonar-web/config/esbuild-config.js index 8497d8978da..95cfc711a56 100644 --- a/server/sonar-web/config/esbuild-config.js +++ b/server/sonar-web/config/esbuild-config.js @@ -24,7 +24,7 @@ const postCssCustomProperties = require('postcss-custom-properties'); const documentationPlugin = require('./esbuild-documentation-plugin'); const htmlPlugin = require('./esbuild-html-plugin'); const htmlTemplate = require('./indexHtmlTemplate'); -const { getCustomProperties } = require('./utils'); +const { getCustomProperties, TARGET_BROWSERS } = require('./utils'); module.exports = release => { const plugins = [ @@ -63,7 +63,7 @@ module.exports = release => { minify: release, metafile: true, sourcemap: true, - target: ['chrome58', 'firefox57', 'safari11', 'edge18'], + target: TARGET_BROWSERS, outdir: 'build/webapp/js', entryNames: release ? 'out[hash]' : 'out', plugins |