2021-01-30 15:09:01 +01:00
|
|
|
const { devDependencies } = require('./package.json')
|
2020-02-09 03:36:19 +01:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
'next/babel',
|
|
|
|
{
|
|
|
|
'preset-env': {
|
|
|
|
targets: {
|
|
|
|
electron: devDependencies.electron.replace(/^\^|~/, '')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|