mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
21ab3dd081
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
17 lines
559 B
JavaScript
17 lines
559 B
JavaScript
/** @type { import('@babel/core').TransformOptions } */
|
|
module.exports = {
|
|
presets: [
|
|
['@babel/preset-env',{targets: {electron: '12.2.3'}}],
|
|
'@babel/preset-typescript',
|
|
'@babel/preset-react',
|
|
],
|
|
plugins: [
|
|
["@babel/plugin-proposal-nullish-coalescing-operator"],
|
|
['@babel/plugin-proposal-decorators', { legacy: true }],
|
|
['@babel/plugin-proposal-class-properties', { loose: true }],
|
|
['@babel/plugin-proposal-private-property-in-object', { loose: true }],
|
|
['@babel/plugin-proposal-private-methods', { loose: true }]
|
|
],
|
|
|
|
}
|