requirejs-react-jsx
Advanced tools
Comparing version 0.13.1 to 0.14.0
@@ -47,3 +47,6 @@ define(function () { | ||
var options = config.jsx && config.jsx.transformOptions || {}; | ||
var oldOptions = config.jsx && config.jsx.transformOptions || {}; // @deprecated | ||
var options = config.config.config.jsx && config.config.jsx.transformOptions || oldOptions || { | ||
harmony: true // enable harmony by default | ||
}; | ||
@@ -50,0 +53,0 @@ if (options.inlineSourceMap) { |
{ | ||
"name": "requirejs-react-jsx", | ||
"version": "0.13.1", | ||
"version": "0.14.0", | ||
"description": "A RequireJS plugin for loading jsx in require.js and r.js", | ||
@@ -5,0 +5,0 @@ "main": "jsx.js", |
@@ -8,2 +8,6 @@ # requirejs-react-jsx | ||
# Example | ||
![http://i.imgur.com/upv8B0g.png](http://i.imgur.com/upv8B0g.png) | ||
# Install | ||
@@ -73,10 +77,12 @@ | ||
jsx: { | ||
fileExtension: ".jsx", | ||
transformOptions: { | ||
harmony: true, | ||
stripTypes: false, | ||
inlineSourceMap: true | ||
}, | ||
usePragma: false | ||
config: { | ||
jsx: { | ||
fileExtension: ".jsx", | ||
transformOptions: { | ||
harmony: true, | ||
stripTypes: false, | ||
inlineSourceMap: true | ||
}, | ||
usePragma: false | ||
} | ||
} | ||
@@ -83,0 +89,0 @@ }); |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
9253
130
134
0