Comparing version 0.10.4 to 0.10.5
@@ -16,2 +16,3 @@ Bublé version <%= version %> | ||
-n, --no Transforms to always skip (overrides --target) | ||
--jsx Custom JSX pragma | ||
@@ -18,0 +19,0 @@ Examples: |
@@ -23,2 +23,8 @@ var fs = require( 'fs' ); | ||
try { | ||
fs.mkdirSync( to ) | ||
} catch ( e ) { | ||
if ( e.code !== 'EEXIST' ) throw e | ||
} | ||
fs.readdirSync( from ).forEach( function ( file ) { | ||
@@ -41,3 +47,4 @@ compile( path.resolve( from, file ), path.resolve( to, file ), command, options ); | ||
source: from, | ||
file: to | ||
file: to, | ||
jsx: options.jsx | ||
}); | ||
@@ -82,3 +89,4 @@ | ||
target: {}, | ||
transforms: {} | ||
transforms: {}, | ||
jsx: command.jsx | ||
}; | ||
@@ -85,0 +93,0 @@ |
# buble changelog | ||
## 0.10.5 | ||
* Create intermediate directories when transforming via CLI ([#63](https://gitlab.com/Rich-Harris/buble/issues/63)) | ||
* Update README ([#57](https://gitlab.com/Rich-Harris/buble/issues/57)) | ||
## 0.10.4 | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "buble", | ||
"version": "0.10.4", | ||
"version": "0.10.5", | ||
"description": "The blazing fast, batteries-included ES2015 compiler", | ||
@@ -5,0 +5,0 @@ "main": "dist/buble.umd.js", |
@@ -51,6 +51,6 @@ import acornJsx from 'acorn-jsx'; | ||
sourceType: 'module', | ||
plugins: { | ||
jsx: true, | ||
objectSpread: true | ||
} | ||
plugins: { | ||
jsx: true, | ||
objectSpread: true | ||
} | ||
}); | ||
@@ -57,0 +57,0 @@ } catch ( err ) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1505007
13976