mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-28 17:07:22 +00:00
19 lines
496 B
JavaScript
19 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'],
|
||
|
|
],
|
||
|
|
};
|