ToolJet/frontend/babel.config.js
Manish Kushare 2783466be2
[Hotfix]: Action button event is not getting triggered (#8480)
* hotfix : action button event is not getting triggered

* removing .then for setExposedvariables and setExposedVariable

* bump version

* Revert "bump version"

This reverts commit 5e9df4825f.

* bump version

* adding .then to onComponentOptionChanged  function in global filters

* making on search event fire upon searching

* fixed lint issues
2024-01-04 11:53:04 +05:30

24 lines
611 B
JavaScript

const 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'],
];
if (process.env.NODE_ENV === 'developement') {
plugins.push(['istanbul', { include: ['src/**/*.js', 'src/**/*.jsx'] }]);
}
module.exports = {
presets: ['@babel/preset-env', '@babel/preset-react'],
plugins,
};