babel-preset-travi
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -8,3 +8,3 @@ 'use strict'; | ||
function index (context, {react, targets = {}, modules}) { | ||
function index (context, {react, targets = {}, modules} = {}) { | ||
return { | ||
@@ -11,0 +11,0 @@ presets: [ |
import env from 'babel-preset-env'; | ||
import restSpread from 'babel-plugin-transform-object-rest-spread'; | ||
function index (context, {react, targets = {}, modules}) { | ||
function index (context, {react, targets = {}, modules} = {}) { | ||
return { | ||
@@ -6,0 +6,0 @@ presets: [ |
{ | ||
"name": "babel-preset-travi", | ||
"description": "My shareable babel preset", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"main": "lib/index.cjs.js", | ||
@@ -6,0 +6,0 @@ "module": "lib/index.es.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
9915