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

@umijs/babel-preset-umi

Package Overview
Dependencies
Maintainers
14
Versions
655
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@umijs/babel-preset-umi

@umijs/babel-preset-umi

  • 3.2.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
103K
increased by4.6%
Maintainers
14
Weekly downloads
 
Created

What is @umijs/babel-preset-umi?

@umijs/babel-preset-umi is a Babel preset specifically designed for UmiJS, a popular React framework. It provides a set of Babel plugins and configurations that are optimized for UmiJS applications, enabling developers to write modern JavaScript and TypeScript code that is compatible with a wide range of browsers.

What are @umijs/babel-preset-umi's main functionalities?

Modern JavaScript Syntax Support

This feature allows developers to use modern JavaScript syntax, such as ES6+ features, in their UmiJS projects. The preset automatically transpiles the code to be compatible with older browsers.

module.exports = { presets: ['@umijs/babel-preset-umi'] };

TypeScript Support

The preset includes support for TypeScript, enabling developers to write type-safe code in their UmiJS applications. It handles the transpilation of TypeScript to JavaScript seamlessly.

module.exports = { presets: ['@umijs/babel-preset-umi'] };

React Optimization

This feature optimizes React code by including plugins that enhance performance and reduce bundle size. It ensures that React applications built with UmiJS are efficient and fast.

module.exports = { presets: ['@umijs/babel-preset-umi'] };

Other packages similar to @umijs/babel-preset-umi

Keywords

FAQs

Package last updated on 01 Jul 2020

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