diff --git a/.babelrc.json b/babel.config.json similarity index 100% rename from .babelrc.json rename to babel.config.json diff --git a/nwb.config.js b/nwb.config.js index 461c7f9..d299cd4 100644 --- a/nwb.config.js +++ b/nwb.config.js @@ -8,5 +8,11 @@ module.exports = { react: 'React' } } + }, + babel: { + "presets": [ + "@babel/preset-react", + "@babel/preset-env" + ] } }