Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@berun/babel-preset-react-app
Advanced tools
This package includes the Babel preset used by Create React App.
Please refer to its documentation:
The easiest way to use this configuration is with Create React App, which includes it by default. You don’t need to install it separately in Create React App projects.
If you want to use this Babel preset in a project not built with Create React App, you can install it with following steps.
First, install Babel.
Then install @berun/babel-preset-react-app.
npm install @berun/babel-preset-react-app --save-dev
Then create a file named .babelrc
with following contents in the root folder of your project:
{
"presets": ["react-app"]
}
This preset uses the useBuiltIns
option with transform-object-rest-spread and transform-react-jsx, which assumes that Object.assign
is available or polyfilled.
To use this package with @babel/preset-typescript
, you need to disable @babel/preset-flow
first.
You can achieve this by doing:
{
"presets": [
["react-app", {
"flow": false
}],
"@babel/typescript"
]
}
FAQs
Babel preset used by @berun
The npm package @berun/babel-preset-react-app receives a total of 2 weekly downloads. As such, @berun/babel-preset-react-app popularity was classified as not popular.
We found that @berun/babel-preset-react-app demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.