mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 21:47:17 +00:00
19 lines
545 B
JavaScript
19 lines
545 B
JavaScript
module.exports = {
|
|
presets: ['@babel/preset-env', '@babel/preset-react'],
|
|
plugins: [
|
|
['@babel/plugin-proposal-class-properties'],
|
|
[
|
|
'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'],
|
|
],
|
|
};
|