rollup-plugin-esbuild
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -9,3 +9,3 @@ "use strict"; | ||
exports.default = (options = {}) => { | ||
const filter = pluginutils_1.createFilter(options.include || /\.[jt]s$/, options.exclude || /node_modules/); | ||
const filter = pluginutils_1.createFilter(options.include || /\.[jt]sx?$/, options.exclude || /node_modules/); | ||
let service; | ||
@@ -43,3 +43,3 @@ const stopService = () => { | ||
async transform(code, id) { | ||
if (filter(id)) { | ||
if (!filter(id)) { | ||
return null; | ||
@@ -46,0 +46,0 @@ } |
{ | ||
"name": "rollup-plugin-esbuild", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
@@ -22,3 +22,3 @@ # rollup-plugin-esbuild | ||
// All options are optional | ||
include: /\.[jt]s$/, // default | ||
include: /\.[jt]sx?$/, // default | ||
exclude: /node_modules/, // default | ||
@@ -25,0 +25,0 @@ watch: process.argv.includes('--watch'), |
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
6547