New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
root-mode for babel-node #9137
Comments
It should work in @babel/node 7.2.0 (#9078) |
I'm using 7.2.0 but still not working.
|
What does |
When I run
It's only working for |
That is how my module.exports = (api) => {
api.cache(true)
return {
presets: [
[
"@babel/env",
{
targets: {
node: true
}
}
]
],
ignore: ['node_modules']
}
} |
Can you try
|
It's trying to load |
I'm using Babel 7 and I have a monorepo with lerna and yarn workspaces, I could configure the script like this:
babel src --root-mode upward --out-dir dist --delete-dir-on-start
and it works really nice, however I want to usenodemon
withbabel-node
but I noticed that I can't specify--root-mode
forbabel-node
, what can I do to solve that?nodemon --legacy-watch --exec babel-node -- src/index
The text was updated successfully, but these errors were encountered: