Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-preset-gatsby-package

Package Overview
Dependencies
Maintainers
12
Versions
233
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-gatsby-package

This [Babel](https://babeljs.io/) preset is used for our internal packages. If you're looking for the preset a **Gatsby Site** can use, please refer to [babel-preset-gatsby](https://github.com/gatsbyjs/gatsby/blob/master/packages/babel-preset-gatsby/READM

  • 3.14.0-next.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.1K
decreased by-60.21%
Maintainers
12
Weekly downloads
 
Created
Source

babel-preset-gatsby-package

This Babel preset is used for our internal packages. If you're looking for the preset a Gatsby Site can use, please refer to babel-preset-gatsby instead.

Packages

Usage

Install babel-preset-gatsby-package and add a .babelrc file with the following content to the root of your project:

npm install --dev babel-preset-gatsby-package
{
  "presets": ["babel-preset-gatsby-package"]
}

Options

browser

boolean, defaults to false.

Defines if @babel/preset-env is configured to target browsers or Node.js environments.

debug

boolean, defaults to false.

Outputs the targets/plugins used and the version specified in plugin data version to console.log.

nodeVersion

string, defaults to 10.13

Allows the Node.js version target to be modified per @babel/preset-env documentation

FAQs

Package last updated on 04 Jan 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc