UNPKG
vivo-hap-toolkit
Version:
beta (0.7.8-beta)
latest (1.8.3)
next (1.9.5)
stable (0.2.6)
1.9.5
1.8.3
0.7.8
0.7.8-beta
0.7.6
0.7.4
0.7.2
0.6.9
0.6.8
0.6.4
0.6.2
0.5.5
0.5.4
0.4.6
0.3.2
0.2.10
0.2.8
0.2.6
0.2.5
0.2.4
0.2.0
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.43
0.0.42
0.0.41
0.0.40
0.0.39
0.0.38
0.0.37
0.0.36
A command line toolkit for developing Quick Apps.
vivo-hap-toolkit
/
babel.config.js
21 lines
(20 loc)
•
369 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module
.
exports
=
function
(
api
) { api.
cache
(
true
)
return
{
presets
: [ [
'@babel/preset-env'
, {
targets
: {
node
:
8
} } ] ],
plugins
: [
'@babel/plugin-transform-modules-commonjs'
,
'@babel/plugin-proposal-optional-chaining'
],
babelrcRoots
: [
'.'
,
'node_modules'
] } }