babel-preset-everything
Version:
all official proposed plugins for babel 7
27 lines (23 loc) • 1.03 kB
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _default = (0, _helperPluginUtils.declare)((_api, _opts) => {
return {
plugins: [// Stage 0
'@babel/plugin-proposal-function-bind', // Stage 1
'@babel/plugin-proposal-do-expressions', '@babel/plugin-syntax-export-extensions', '@babel/plugin-proposal-numeric-separator', ['@babel/plugin-proposal-optional-chaining', {
loose: false
}], // Stage 2
'@babel/plugin-proposal-function-sent', '@babel/plugin-syntax-import-meta', ['@babel/plugin-proposal-decorators', {
legacy: true
}], // Stage 3
'@babel/plugin-proposal-unicode-property-regex', '@babel/plugin-syntax-dynamic-import', '@babel/plugin-transform-dotall-regex', 'babel-plugin-transform-modern-regexp', ['@babel/plugin-proposal-class-properties', {
loose: true
}], // Stage 4
'@babel/plugin-transform-runtime']
};
});
exports.default = _default;
;