You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In development, you'll want to use [`@babel/register`](https://babeljs.io/docs/en/next/babel-register):
171
171
172
-
```js
173
-
require('babel-register');
172
+
```bash
173
+
node --require @babel/register <your-entry-file>
174
+
```
175
+
176
+
In production, you'll want to build your files with [`@babel/cli`](https://babeljs.io/docs/en/babel-cli). Suppose you are compiling a folder `src` and you wanted the output to go to a new folder `dist` with non-javascript files copied:
0 commit comments