insomnia/packages/insomnia-app/.babelrc.js
Jack Kavanagh 1f05683fad
Chore/upgrade-electron-17 (#4529)
* bump node, electron, libcurl

* bump electron-builder

* stub performance, because inso imports react

* bump @types/node

* match up builder versions

* Disable consent prompts for oidc server

* bump electron and libcurl to latest

* waitForCookies for oauth tests

* Bump NodeJS to 16.13.0

* removes node 14 hack for BufferEncoding

* Replace oidc-provider html interaction pages with a simple html form

* make document cookie wait explicit

Co-authored-by: David Marby <david@dmarby.se>
2022-03-07 13:10:35 +00:00

17 lines
559 B
JavaScript

/** @type { import('@babel/core').TransformOptions } */
module.exports = {
presets: [
['@babel/preset-env',{targets: {electron: '17.1.0'}}],
'@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 }]
],
}