babel-preset-escompile
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -10,7 +10,7 @@ var npm = require('npm') | ||
// auto-generated index.js | ||
var indexjs = 'module.exports = [\n' + | ||
var indexjs = 'module.exports = {plugins:[\n' + | ||
pluginArr.map(function (plugin) { | ||
return ' require(\'' + plugin + '\'),' | ||
}).join('\n') + | ||
'\n]' | ||
'\n]}' | ||
@@ -17,0 +17,0 @@ fs.writeFile('./index.js', indexjs, 'utf8', function (err) { |
@@ -1,2 +0,2 @@ | ||
module.exports = [ | ||
module.exports = {plugins:[ | ||
require('babel-plugin-syntax-jsx'), | ||
@@ -36,2 +36,2 @@ require('babel-plugin-syntax-async-functions'), | ||
require('babel-plugin-transform-regenerator'), | ||
] | ||
]} |
{ | ||
"name": "babel-preset-escompile", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "escompile babel preset for browser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
8884