babel-cli Questions

2

Solved

What is the difference between @babel/node and babel-node? I did yarn add babel-node --dev but I had error. So I did yarn add @babel/node --dev, it worked. What is the meaning of @?
Purple asked 9/5, 2019 at 8:7

2

Given the following example directory structure: srcDir/file1.js srcDir/subDir1/file2.js srcDir/subDir2/file3.js I want to process those files with babel-cli so that the output files end up in d...
Diphthongize asked 12/4, 2019 at 3:1

7

I want to manage my node process with pm2 package. If I don't have any es6 syntax in my code so I don't need to add babel-node, and without any es6 syntax code is am able to run my code with pm2 wi...
Champollion asked 6/2, 2018 at 6:58

1

Solved

When running npx babel index.js from the command line, I was hoping I would see my babel configurations being applied from babel.config.js However it does not seem the case as was wondering why th...
Elmoelmore asked 28/2, 2020 at 2:20

4

Solved

Babel CLI docs (https://babeljs.io/docs/usage/cli/): babel-node [options] [ -e script | script.js ] [arguments] But when trying to increase allocated memory for Node: babel-node --max-old-space...
Lilley asked 10/7, 2016 at 17:11

0

Is it possible to declare plugin options in the babel-cli --plugins argument? I can't find any mention or examples in the documentation. Specifically I'm trying to translate the following from a ....
Circassia asked 17/6, 2018 at 1:53
1

© 2022 - 2024 — McMap. All rights reserved.