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