🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

reach-et-babel-setup

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reach-et-babel-setup

standard setup for ET projects

latest
Source
npmnpm
Version
1.7.2
Version published
Maintainers
1
Created
Source

reach-et-babel-setup

Sets standard Babel config for Reach ET builds. Includes the following:

Plugins

Presets:

Install

npm i reach-et-babel-setup --save-dev

Usage

Create a .babelrc.js file and add the following:

const babelConfig = require('reach-et-babel-setup');
module.exports = babelConfig();

If you want to tweak the @babel/preset-env then you can pass it into the config like so:

const babelConfig = require('reach-et-babel-setup');
module.exports = babelConfig({
  // Defaults
  debug: false,
  corejs: 3,
  modules: 'auto',
  useBuiltIns: 'usage'
});

Copyright (c) 2019 "Reach Shared Services Ltd"

FAQs

Package last updated on 21 Feb 2022

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