@babel/helper-compilation-targets
Helper functions on Babel compilation targets
Found 2386 results for babel-plugin
Helper functions on Babel compilation targets
Allow parsing of optional properties
Allow parsing of async generator functions
Turn async functions into ES2015 generators
Allow parsing of TypeScript syntax
This plugin transforms ES2015 modules to SystemJS
This plugin transforms ES2015 modules to AMD
Compile class public and private fields, private methods and decorators to ES6
Allow parsing of jsx
Allow parsing of the nullish-coalescing operator
Allow parsing of '#foo in obj' brand checks
Compile exponentiation operator to ES5
This plugin transforms static class properties as well as properties declared with the property initializer syntax
Transform TypeScript into ES.next
Allow parsing of the logical assignment operators
Compile ES2015 block scoping (const and let) to ES5
Compile ES2015 arrow functions to ES5
Apply ES2015 function.name semantics to all functions
Babel plugin to ensure function declarations at the block level are block scoped
A Babel plugin to inject imports to core-js@3 polyfills
Remove nullish coalescing operator
Ensure that reserved words are quoted in object property keys
Allow parsing of object rest/spread
Allow parsing of optional catch bindings
Allow parsing of the module attributes in the import statement
Allow parsing of class properties
Allow parsing of the U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings
Allows you to build compile-time libraries
Allow parsing of Decimal, Binary, Hex and Octal literals that contain a Numeric Literal Separator
This plugin transforms ES2015 modules to CommonJS
Compile ESNext Regular Expressions to ES5
Allow parsing of top-level await in modules
Compile ES2015 Unicode escapes to ES5
Babel helper to create your own polyfill provider
Allow parsing of import.meta
Transform optional chaining operators to workaround https://crbug.com/v8/11558
Compile ES2015 classes to ES5
Compile regular expressions using named groups to ES5.
Compile ES2015 default and rest parameters to ES5
Rename destructuring parameter to workaround https://bugs.webkit.org/show_bug.cgi?id=220517
Compile ES2015 destructuring to ES5
This plugin transforms ES2015 modules to UMD
Compile ES2015 computed properties to ES5
Compile ES2015 shorthand properties to ES5
Parse regular expressions' unicodeSets (v) flag.
Compile ES2015 for...of to ES5
Compile ES2015 spread to ES5
Allow parsing of BigInt literals
Compile ES2015 unicode string and number literals to ES5
Ensure that reserved words are quoted in property accesses
Compile ES2015 template literals to ES5
Compile ES2015 sticky regex to an ES5 RegExp constructor
Compile ES2015 Unicode regex to ES5
A Babel plugin to inject imports to core-js@2 polyfills
Remove numeric separators from Decimal, Binary, Hex and Octal literals
Compile ES2015 object super to ES5
A Babel plugin to inject imports to regenerator-runtime
Compile regular expressions using the `s` (`dotAll`) flag to ES5.
This transformer wraps all typeof expressions with a method that replicates native behaviour. (ie. returning “symbol” for symbols)
Compile objects with duplicate keys to valid strict ES5
Transform class static blocks
Turn JSX into React function calls in development
Allow parsing of the module assertion attributes in the import statement
Transforms new.target meta property
Allow parsing of class static blocks
Compile object rest and spread to ES5
Ensure that no reserved words are used.
This plugin transforms private class methods
Transform import() expressions
Transform optional chaining operators into a series of nil checks
Turn async generator functions into ES2015 generators
Turn JSX into React function calls
Transforms logical assignment operators into short-circuited assignments
Compile optional catch bindings
Compile regular expressions' unicodeSets (v) flag.
Escape U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings
This plugin transforms checks for a private property in an object
Compile export namespace to ES2015
Compile Unicode property escapes in Unicode regular expressions to ES5.
Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals
Transform static class fields assignments that are affected by https://crbug.com/v8/12421
Wrap class field initializers with IIFE to workaround https://webkit.org/b/236843
Add displayName to React.createClass calls
Wraps classes defined in computed keys of other classes affected by https://bugzilla.mozilla.org/show_bug.cgi?id=1887677
Compile inline regular expression modifiers
Allow parsing of the flow syntax
Allow parsing of export namespace from
Compile regular expressions using duplicate named groups to index-based groups.
Transform SVG by adding a dynamic title element
Remove JSX attribute
Mark top-level React method calls as pure for tree shaking
Allow parsing of import()
Add a __source prop to all JSX Elements
Add a __self prop to all JSX Elements
Strip flow type annotations from your output code.
Allow parsing of decorators
Compile class and object decorators to ES5
Add JSX attribute
Treat React JSX elements as value types and hoist them to the highest scope
Transform SVG to use em-based dimensions
Transform SVG into component
Transform DOM elements into react-native-svg components
Replace JSX attribute value
SVGR preset that apply transformations from config
Remove JSX empty expression
Compile `using` and `await using` declarations to ES2015
Remove unnecessary React propTypes from the production build
Compile trailing function commas to ES5
Compile export default to ES2015
Improve the debugging experience and add server-side rendering support to styled-components
Allow parsing of jsx
Allow parsing of export default from
Transform TypeScript `const` enums
Module resolver plugin for Babel
Babel plugin to emit decorator metadata like typescript compiler
Compile ES2015 object super to ES5
Allow parsing of object rest/spread
Compile ES2015 classes to ES5
Compile ES2015 unicode string and number literals to ES5
Compile ES2015 default and rest parameters to ES5
This plugin transforms ES2015 modules to CommonJS
Compile object rest and spread to ES5
Compile ES2015 template literals to ES5
This plugin places a 'use strict'; directive at the top of all files to enable strict mode
Compile objects with duplicate keys to valid strict ES5
Compile ES2015 constants to ES5
Compile ES2015 shorthand properties to ES5
Compile ES2015 spread to ES5
Apply ES2015 function.name semantics to all functions
This plugin transforms ES2015 modules to UMD
Allow parsing of the exponentiation operator
Compile ES2015 for...of to ES5
Compile ES2015 destructuring to ES5
Compile ES2015 block scoping (const and let) to ES5
Compile ES2015 Unicode regex to ES5
Turn async functions into ES2015 generators
Compile ES2015 sticky regex to an ES5 RegExp constructor
Compile ES2015 computed properties to ES5
This plugin transforms ES2015 modules to SystemJS
This transformer wraps all typeof expressions with a method that replicates native behaviour. (ie. returning “symbol” for symbols)
Compile ES2015 arrow functions to ES5
This plugin transforms ES2015 modules to AMD
Babel plugin to ensure function declarations at the block level are block scoped
Fix babel/babel#2212
Allow parsing of async functions
Compile exponentiation operator to ES5
Remove all console.* calls.
This plugin transforms static class properties as well as properties declared with the property initializer syntax
Allow parsing of import()
Babel plugin to add react-docgen info into your code
Allow parsing of class properties
Compile class and object decorators to ES5
Allow parsing of the flow syntax
Modular Lodash builds without the hassle.
path.evaluate wrapped in a try catch
Allow parsing of async generator functions
Turn async generator functions into ES2015 generators
Inlines bindings when possible. Tries to evaluate expressions and prunes unreachable as a result.
Strip flow type annotations from your output code.
Babel plugin for preserving exports order across transforms
Add a __source prop to all JSX Elements
## Installation
Turn valid member expression property literals into plain identifiers
Compile export extensions to ES2015
Allow parsing of decorators
Replace Object.assign with an inline helper
Allow parsing of do expressions
## Installation
Add displayName to React.createClass calls
> Simplifies code for minification by reducing statements into expressions and making expressions uniform where possible.
Allow parsing of function bind
Turn JSX into React function calls
Configurable "search and replace" plugin. Replaces matching nodes in the tree with a given replacement node. For example you can replace `process.NODE_ENV` with `"production"`.
**Note:** Not recommended if full support for IE8 and lower is required. [Details](https://github.com/babel/minify/pull/45#discussion_r70181249)
Component modular import plugin for babel.
## Installation
Mark scopes for deopt which contain a direct eval call
This changes RegExp constructors into literals if the RegExp arguments are strings.
Allow parsing of export extensions
## Installation
This removes rvals that are equivalent to undefined wherever possible
Compile do expressions to ES5
Add a __self prop to all JSX Elements
Context- and scope- aware variable renaming.
## Example
Merge sibling variables into one.
Shortens numeric literals using scientific notation
This plugin allows Babel to transform class constructors (deprecated)
Allow parsing of class constructor calls (deprecated)
Remove debugger statements
## Example
Tries to evaluate expressions and inline the result.
## Installation
Replace references to `undefined` with `void 0`
Convert === and !== to == and != if their types are inferred to be the same.
Minify Standard built-in Objects
**Note:** while this plugin doesn’t shorten the output in any way, it does optimize it for repetition-based compression algorithms such as gzip.
This plugin inlines consecutive property assignments, array pushes, etc.
Turn boolean literals into !0 for true and !1 for false.
Turn valid property key literals to plain identifiers
Compile function bind operator to ES5
Transforms import.meta for nodejs environments
Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals
Babel plugin for collecting messages from source code for internationalization
Extracts string messages for translation from modules that use formatjs.
Wraps Throw Expressions in an IIFE
Inline environment variables.
Polyfill for Ember JS API.
This plugin contains helper functions that’ll be placed at the top of the generated code
Compile the function.sent meta property to valid ES2015 code
Turn JSX elements into exploded React objects
Allow parsing of the pipeline operator
babel-plugin-module-resolver resolver for eslint-plugin-import
Throw a compile-time error on references to undeclared variables
Babel plugin for transforming Lingui Macros
Load environment variables using import statements.
Babel plugin for power-assert
Babel plugin to transform svg to react component
Allow parsing of Throw Expressions
Compile function bind operator to ES5
Transform pipeline operator into call expressions
Compile do expressions to ES5
A Babel Plugin for use with Relay applications.
A Babel plugin which automatically makes stack traces source-map aware
Babel plugin that replaces member expressions and typeof statements with strings
Modular Lodash builds without the hassle.
Allow parsing of the function.sent meta property
Babel plugin to instrument React components with custom transforms
Babel plugin to make raw files importable
Babel plugin for protecting against improper use of `t.throws()` in AVA
Polyfill for EmberData Packages API.
Replace Object.assign with an inline helper
Treat React JSX elements as value types and hoist them to the highest scope
Allow parsing of function bind
A babel transform for filtering out imports
Replace JavaScript expressions with other expressions
A plugin for Babel 6 that (mostly) replicates the old decorator behavior from Babel 5.
Babel plugin that adds React import declaration if file contains JSX tags.
Ramda modularized builds without the hassle
Allow parsing of do expressions
Removes React properties
Babel plugin to add angularjs dependency injection annotations
Twin blends the magic of Tailwind with the flexibility of css-in-js
This plugin places a 'use strict'; directive at the top of all files to enable strict mode
Strips classCallCheck from babel6 output
This plugin contains helper functions that’ll be placed at the top of the generated code
Pre-evaluate code at build-time
Generate React PropTypes from TypeScript prop interfaces.
Babel transform plugin for automatically injecting an import to be used as the pragma for the React JSX Transform plugin.
Replaces `arr.includes(val)' with `arr.indexOf(val) >= 0`.