rollup-plugin-buble
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -8,8 +8,7 @@ 'use strict'; | ||
if ( !options ) options = {}; | ||
const filter = rollupPluginutils.createFilter( options.include, options.exclude ); | ||
var filter = rollupPluginutils.createFilter( options.include, options.exclude ); | ||
return { | ||
transform ( code, id ) { | ||
transform: function ( code, id ) { | ||
if ( !filter( id ) ) return null; | ||
return buble.transform( code ); | ||
@@ -16,0 +15,0 @@ } |
@@ -6,8 +6,7 @@ import { transform } from 'buble'; | ||
if ( !options ) options = {}; | ||
const filter = createFilter( options.include, options.exclude ); | ||
var filter = createFilter( options.include, options.exclude ); | ||
return { | ||
transform ( code, id ) { | ||
transform: function ( code, id ) { | ||
if ( !filter( id ) ) return null; | ||
return transform( code ); | ||
@@ -14,0 +13,0 @@ } |
{ | ||
"name": "rollup-plugin-buble", | ||
"description": "Compile ES2015 with buble", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"author": "Rich Harris", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/rollup/rollup-plugin-buble", |
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
2123
5