fix(nextjs): delegate preset options (#7385)
This commit is contained in:
parent
892dfa0bcc
commit
93ffd2da9e
@ -4,7 +4,7 @@
|
||||
module.exports = function (api, options) {
|
||||
api.assertVersion(7);
|
||||
return {
|
||||
presets: ['next/babel'],
|
||||
presets: [['next/babel', options]],
|
||||
plugins: [
|
||||
[require.resolve('@babel/plugin-proposal-decorators'), { legacy: true }],
|
||||
],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user