question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

babel configuration

See original GitHub issue

Hi there, I’m sorry I’m quite new to nodejs and other tools, tried to run “npm run build” then realised I had not installed babel After installing babel globally, I realised I needed to install:

env preset and other babel plugins refered in .babelrc.

         "add-header-comment",
        "transform-es2015-modules-commonjs",
        "transform-es2017-object-entries",
        "transform-object-rest-spread",
        "transform-es2015-destructuring",
        "array-includes"

what would be the right way to install all this component ? (–save-dev ? something else ?)

Thanks you for your help in advance

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
philippefuentescommented, Mar 30, 2018

first thing I did 😃

0reactions
irvinlimcommented, Mar 30, 2018

Glad you fixed it! You can give this repository a star if it has been useful 😁

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configure Babel
Babel can be configured! Many other tools have similar configs: ESLint ( .eslintrc ), Prettier ( .prettierrc ). All Babel API options are...
Read more >
Config Files - Babel.js
Babel can be configured using any file extension natively supported by Node.js, as mentioned in Configuration File Types section: babel.config.json and .babelrc ...
Read more >
Options - Babel.js
Options. Primary options; Config Loading options; Plugin and Preset configuration; Config Merging options; Source Map options; Misc options ...
Read more >
Usage Guide - Babel.js
Check out our interactive setup guide instead. Overview. This guide will show you how to compile your JavaScript application code that uses ES2015+...
Read more >
Babel · The compiler for next generation JavaScript - Babel.js
4Create babel.config.json configuration file. Great! You've configured Babel but you haven't made it actually do anything. Create a babel.config.json config ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found