How to use the babel-preset-stage-3.plugins function in babel-preset-stage-3

To help you get started, we’ve selected a few babel-preset-stage-3 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github systemjs / plugin-babel / build-babel / systemjs-babel.js View on Github external
plugins: [externalHelpersPlugin]

import runtimeTransformPlugin from 'babel-plugin-transform-runtime';
export let runtimeTransform = {
  plugins: [[runtimeTransformPlugin, { polyfill: false }]]

import p1 from 'babel-preset-stage-1';
import p2 from 'babel-preset-stage-2';
import p3 from 'babel-preset-stage-3';
import pReact from 'babel-preset-react';

let pluginsStage1 = p1.plugins;
let pluginsStage2 = p2.plugins;
let pluginsStage3 = p3.plugins;
let pluginsReact  = pReact.plugins;

export { pluginsStage1, pluginsStage2, pluginsStage3, pluginsReact }

// ES2015 plugins to keep in sync with
import templateLiterals from 'babel-plugin-transform-es2015-template-literals';
import literals from 'babel-plugin-transform-es2015-literals';
import functionName from 'babel-plugin-transform-es2015-function-name';
import arrowFunctions from 'babel-plugin-transform-es2015-arrow-functions';
import blockScopedFunctions from 'babel-plugin-transform-es2015-block-scoped-functions';
import classes from 'babel-plugin-transform-es2015-classes';
import objectSuper from 'babel-plugin-transform-es2015-object-super';
import shorthandProperties from 'babel-plugin-transform-es2015-shorthand-properties';
import computedProperties from 'babel-plugin-transform-es2015-computed-properties';
import forOf from 'babel-plugin-transform-es2015-for-of';
import stickyRegex from 'babel-plugin-transform-es2015-sticky-regex';


Babel preset for stage 3 plugins

Latest version published 7 years ago

Package Health Score

74 / 100
Full package analysis

Popular babel-preset-stage-3 functions

Similar packages