diff --git a/packages/editor/.babelrc.js b/packages/editor/.babelrc.js deleted file mode 100644 index 999b7fe..0000000 --- a/packages/editor/.babelrc.js +++ /dev/null @@ -1,14 +0,0 @@ -const editorJsx = require('babel-plugin-transform-typex-jsx') -module.exports = { - presets: [ - [ - '@babel/preset-env', - { - targets: { - node: 'current', - }, - }, - ], - ], - plugins: [editorJsx], -} diff --git a/packages/editor/babel.config.json b/packages/editor/babel.config.json new file mode 100644 index 0000000..205ecba --- /dev/null +++ b/packages/editor/babel.config.json @@ -0,0 +1,13 @@ +{ + "presets": [ + [ + "@babel/preset-env", + { + "targets": { + "node": "current" + } + } + ] + ], + "plugins": ["babel-plugin-transform-typex-jsx"] +}