You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
unboundedpress/node_modules/babel-plugin-espower/with-experimental-syntax.js

14 lines
412 B
JavaScript

5 years ago
/**
* Bridge module for babel-preset-power-assert to enable `embedAst` option by default.
*
* NOTE: this is an internal & interim module and will be removed from next major version,
* since `embedAst` will be true by default in next major.
*/
'use strict';
var createEspowerPlugin = require('./create');
module.exports = function (babel) {
return createEspowerPlugin(babel, { embedAst: true });
};