deno.land / x / rambda@v9.1.1 / babel.config.cjs

babel.config.cjs
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
const testConfig = { presets : [ [ '@babel/preset-env', { targets : { node : 'current' } }, ], ],}const options = { "targets": { "node": "10.6.0" }}module.exports = function(api){ const isTest = api.env('test') if (isTest) return testConfig
return { presets : [ ['@babel/preset-env', options] ], plugins : [ '@babel/plugin-proposal-object-rest-spread', ], }}
rambda

Version Info

Tagged at
a month ago