diff options
author | Mathieu Suen <mathieu.suen@sonarsource.com> | 2022-04-05 13:58:25 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-04-06 20:03:01 +0000 |
commit | 78ce871afde1b35ebd232e4590b272623ba2a2d2 (patch) | |
tree | edd4ae37e9547010c3180115fcbe593776bca56d /server/sonar-web/babel.config.js | |
parent | 9a1bca439a724c1cf74da3a1e4c38219ed01c377 (diff) | |
download | sonarqube-78ce871afde1b35ebd232e4590b272623ba2a2d2.tar.gz sonarqube-78ce871afde1b35ebd232e4590b272623ba2a2d2.zip |
Removing babel dependency
Diffstat (limited to 'server/sonar-web/babel.config.js')
-rw-r--r-- | server/sonar-web/babel.config.js | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/server/sonar-web/babel.config.js b/server/sonar-web/babel.config.js deleted file mode 100644 index d991803dabd..00000000000 --- a/server/sonar-web/babel.config.js +++ /dev/null @@ -1,33 +0,0 @@ -module.exports = { - compact: true, - presets: [ - [ - '@babel/preset-env', - { - modules: false, - targets: { - browsers: [ - 'last 2 Chrome versions', - 'last 2 Firefox versions', - 'last 2 Safari versions', - 'last 2 Edge versions' - ] - }, - corejs: '3.6', - useBuiltIns: 'entry' - } - ], - '@babel/preset-react' - ], - plugins: [['@babel/plugin-proposal-object-rest-spread', { useBuiltIns: true }], 'lodash'], - env: { - test: { - plugins: [ - '@babel/plugin-transform-modules-commonjs', - 'dynamic-import-node', - '@babel/plugin-transform-react-jsx-source', - '@babel/plugin-transform-react-jsx-self' - ] - } - } -}; |