ToolJet/frontend/babel.config.js
Erfan Naghashlou 473104e1ff
refactor: remove @babel/plugin-proposal-class-properties (2nd PR after CLA problem) (#3959)
* refactor: remove @babel/plugin-proposal-class-properties as plugin

* Remove class properties plugin from babel.config.js, Update frontend package.json, Update frontend,server,plugin package.lock.json
2022-09-05 22:41:03 +05:30

18 lines
496 B
JavaScript

module.exports = {
presets: ['@babel/preset-env', '@babel/preset-react'],
plugins: [
[
'console-source',
{
segments: 1, // NOT REQUIRED
// 0 = full file path (Default)
// 1 = file name ONLY
// 2 = file name and last segment
splitSegment: '/', // How to split the path - NOT REQUIRED
// Default is / for Linux and OSX
// Windows users can use "\\" here if needed
},
],
['@babel/transform-runtime'],
],
};