
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@planningcenter/babel-preset
Advanced tools
A Babel preset to keep PCO products building Javascript consistently
This is a common babel preset that can be used for all Planning Center Apps.
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.
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
A Babel preset to keep PCO products building Javascript consistently
The npm package @planningcenter/babel-preset receives a total of 558 weekly downloads. As such, @planningcenter/babel-preset popularity was classified as not popular.
We found that @planningcenter/babel-preset demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 16 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.