x/rambda@v7.0.1/babel.config.cjs

Faster and smaller alternative to Ramda
GitHub Stars
1342
Latest
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', ], }}