New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@teambit/babel

Package Overview
Dependencies
Maintainers
18
Versions
1605
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teambit/babel

This compiler utilizes the programmatic API of Babel to transpile files. See the compiler-options.ts for more data how to pass Babel options to the compiler.

0.0.91
Source
npm
Version published
Weekly downloads
909
-22.37%
Maintainers
18
Weekly downloads
 
Created
Source

Babel Compiler

This compiler utilizes the programmatic API of Babel to transpile files. See the compiler-options.ts for more data how to pass Babel options to the compiler.

Note that to isolate the components from different Babel config files on the machine, the following two props are set to false (if they weren't passed in the options): configFile and babelrc.

FAQ

Q: I'm getting an error about missing plugins.

A: make sure that workspace.jsonc has the plugins and that you ran bit install. Example of the workspace.jsonc settings:

"my-babel-env": {
      "teambit.bit/aspect": {},
      "teambit.bit/dependency-resolver": {
        "policy": {
          "dependencies": {
            "@babel/core": "7.11.6",
            "@babel/preset-react": "7.12.1",
            "@babel/preset-env": "7.11.5",
            "@babel/preset-typescript": "7.10.4",
            "@babel/plugin-proposal-class-properties": "7.10.4"
          }
        }
      }
    },

FAQs

Package last updated on 28 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts