2020-02-25 20:40:46 +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(/^\^|~/, '')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|