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

@planningcenter/babel-preset

Package Overview
Dependencies
Maintainers
16
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@planningcenter/babel-preset

A Babel preset to keep PCO products building Javascript consistently

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
732
decreased by-12.86%
Maintainers
16
Weekly downloads
 
Created
Source

This is a common babel preset that can be used for all Planning Center Apps.

Usage

yarn add @planningcenter/babel-preset

Then add the preset to your babel config in babel.config.json:

{
  "presets": ["@planningcenter"]
}

You can remove all references to basic babel plugins and presets. This is also responsible for making sure that you have a current working version of @babel/core and @babel/runtime.

Options

useClassicJSXRuntime (default: false)

By default, this preset will use React's runtime to transform JSX. This runtime is available in React ^17, ^16.4.0, ^15.7.0, and ^0.14.10. If you are on an older version of React, you will either need to upgrade or use this setting.

presetReactImportSource (default: "react")

This option allows overriding the importSource option for @babel/preset-react. Useful if using emotion, for example.

FAQs

Package last updated on 11 Apr 2023

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