diff --git a/babel.config.js b/babel.config.js index 151c04285f..c429034fe2 100644 --- a/babel.config.js +++ b/babel.config.js @@ -8,19 +8,12 @@ module.exports = api => { const isTest = api.env('test'); if (isSite) { - console.log('-------------->') return { presets: [ '@babel/preset-env', // 'babel-preset-gatsby', { // silence: true // }, - [ - '@babel/preset-react', - { - development: isCommonJS - } - ] ], plugins: [ '@babel/plugin-proposal-optional-chaining',