Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

systemjs-plugin-babel

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

systemjs-plugin-babel - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

2

package.json
{
"name": "systemjs-plugin-babel",
"version": "0.0.19",
"version": "0.0.20",
"registry": "npm",

@@ -5,0 +5,0 @@ "jspmPackage": true,

@@ -10,2 +10,3 @@ var babel = require('systemjs-babel-build').babel;

var stage1 = require('systemjs-babel-build').pluginsStage1;
var react = require('systemjs-babel-build').pluginsReact;

@@ -48,2 +49,3 @@ var externalHelpers = require('systemjs-babel-build').externalHelpers;

* stage1: true / false (defaults to false)
* react: true / false (defaults to false)
* plugins: array of custom plugins (objects or module name strings)

@@ -63,2 +65,3 @@ * presets: array of custom presets (objects or module name strings)

stage1: false,
react: false,
compact: false,

@@ -154,2 +157,7 @@ comments: true

if (babelOptions.react)
presets.push({
plugins: react
});
if (babelOptions.presets)

@@ -156,0 +164,0 @@ babelOptions.presets.forEach(function(preset) {

@@ -76,2 +76,16 @@ SystemJS Babel Plugin

### React JSX
To use React with JSX support set:
```javascript
SystemJS.config({
meta: {
'*.js': {
react: true
}
}
});
```
### Building and Bundling

@@ -78,0 +92,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc