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

@ta-interaktiv/babel-preset-react-project

Package Overview
Dependencies
Maintainers
0
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ta-interaktiv/babel-preset-react-project

Babel preset for developing React/Webpack projects.

  • 3.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19
increased by5.56%
Maintainers
0
Weekly downloads
 
Created
Source

Babel Preset for React Project Development

A simple babel preset for developing React projects using Webpack. Used together with https://gitlab.com/ta-interaktiv/project-templates/react-base and https://www.npmjs.com/package/@ta-interaktiv/webpack-config.

Installation

yarn add @ta-interaktiv/babel-preset-react-project --dev
yarn add react-hot-loader --dev

Add to .babelrc:

{
  "presets": ["@ta-interaktiv/babel-preset-react-project"]
}

Polyfills

Polyfills are not included in this preset. When using @ta-interaktiv/webpack-config, those polyfills should be included using https://polyfill.io/.

Hot-Exporting Main Component

When used together with a fairly recent version of the React Base Project, everything should already have been set up.

Otherwise follow the instructions here from #2 onwards. By default, the React Base should contain this snippet already.

Keywords

FAQs

Package last updated on 18 Sep 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