UNPKG
babel-plugin-syntax-exponentiation-operator
Version:
latest (6.13.0)
next (7.0.0-beta.0)
7.0.0-beta.0
7.0.0-alpha.20
7.0.0-alpha.19
7.0.0-alpha.18
7.0.0-alpha.17
7.0.0-alpha.16
7.0.0-alpha.15
7.0.0-alpha.14
7.0.0-alpha.13
7.0.0-alpha.12
7.0.0-alpha.9
7.0.0-alpha.3
7.0.0-alpha.1
6.13.0
6.8.0
6.5.0
6.5.0-1
6.3.13
6.2.4
6.1.18
6.1.17
6.1.16
6.1.13
6.1.10
6.1.8
6.1.7
6.1.6
6.1.5
6.1.4
6.0.14
6.0.2
Allow parsing of the exponentiation operator
babel/babel
babel-plugin-syntax-exponentiation-operator
/
lib
/
index.js
13 lines
(10 loc)
•
264 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
"use strict"
;
exports
.
__esModule
=
true
;
exports
.
default
=
function
(
) {
return
{
manipulateOptions
:
function
manipulateOptions
(
opts, parserOpts
) { parserOpts.
plugins
.
push
(
"exponentiationOperator"
); } }; };
module
.
exports
=
exports
[
"default"
];