@swc-node/core
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -6,2 +6,8 @@ # Change Log | ||
## [0.2.1](https://github.com/Brooooooklyn/swc-node/compare/@swc-node/core@0.2.0...@swc-node/core@0.2.1) (2020-08-09) | ||
### Bug Fixes | ||
- **core:** missing jsx option ([0518375](https://github.com/Brooooooklyn/swc-node/commit/0518375485974258461910b78e73b49ef5b4f67b)) | ||
# [0.2.0](https://github.com/Brooooooklyn/swc-node/compare/@swc-node/core@0.1.12...@swc-node/core@0.2.0) (2020-08-09) | ||
@@ -8,0 +14,0 @@ |
@@ -5,2 +5,3 @@ export interface Options { | ||
sourcemap?: boolean | 'inline' | ||
jsx?: boolean | ||
experimentalDecorators?: boolean | ||
@@ -7,0 +8,0 @@ emitDecoratorMetadata?: boolean |
@@ -26,3 +26,3 @@ const { platform } = require('os') | ||
syntax: 'typescript', | ||
tsx: path.endsWith('.tsx'), | ||
tsx: typeof opts.jsx !== 'undefined' ? opts.jsx : path.endsWith('.tsx'), | ||
decorators: Boolean(opts.experimentalDecorators), | ||
@@ -52,3 +52,3 @@ dynamicImport: Boolean(opts.dynamicImport), | ||
syntax: 'typescript', | ||
tsx: path.endsWith('.tsx'), | ||
tsx: typeof opts.jsx !== 'undefined' ? opts.jsx : path.endsWith('.tsx'), | ||
decorators: Boolean(opts.experimentalDecorators), | ||
@@ -55,0 +55,0 @@ dynamicImport: Boolean(opts.dynamicImport), |
{ | ||
"name": "@swc-node/core", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Faster swc nodejs binding", | ||
@@ -59,8 +59,8 @@ "keywords": [ | ||
}, | ||
"gitHead": "519754a7a809da5ea61eeee20f06035f5af2f04c", | ||
"gitHead": "a769a18a2c9b398ba36fbbd0bb73c95d2963cd21", | ||
"optionalDependencies": { | ||
"@swc-node/core-darwin": "^0.2.0", | ||
"@swc-node/core-linux": "^0.2.0", | ||
"@swc-node/core-win32": "^0.2.0" | ||
"@swc-node/core-darwin": "^0.2.1", | ||
"@swc-node/core-linux": "^0.2.1", | ||
"@swc-node/core-win32": "^0.2.1" | ||
} | ||
} |
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
6794
89