cube-babel
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -53,3 +53,3 @@ 'use strict'; | ||
v[0] = require('babel-preset-' + v[0]); | ||
} else { | ||
} else if (typeof v === 'string') { | ||
a[i] = require('babel-preset-' + v); | ||
@@ -61,3 +61,3 @@ } | ||
v[0] = require('babel-plugin-transform-' + v[0]); | ||
} else { | ||
} else if (typeof v === 'string') { | ||
a[i] = require('babel-plugin-transform-' + v); | ||
@@ -64,0 +64,0 @@ } |
{ | ||
"name": "cube-babel", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "cube babel processor", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
4467