rollup-plugin-esbuild
Advanced tools
Comparing version 2.6.0 to 2.6.1
@@ -25,9 +25,9 @@ 'use strict'; | ||
const getOptions = async (cwd, tsconfig) => { | ||
var _a, _b, _c; | ||
const {data, path} = await joycon2.load([tsconfig || "tsconfig.json"], cwd); | ||
if (path && data) { | ||
const {jsxFactory, jsxFragmentFactory, target} = data.compilerOptions || {}; | ||
return { | ||
jsxFactory: (_a = data.compilerOptions) == null ? void 0 : _a.jsxFactory, | ||
jsxFragment: (_b = data.compilerOptions) == null ? void 0 : _b.jsxFragmentFactory, | ||
target: (_c = data.compilerOptions) == null ? void 0 : _c.target | ||
jsxFactory, | ||
jsxFragment: jsxFragmentFactory, | ||
target: target && target.toLowerCase() | ||
}; | ||
@@ -34,0 +34,0 @@ } |
{ | ||
"name": "rollup-plugin-esbuild", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"main": "dist/index.js", | ||
@@ -19,13 +19,13 @@ "types": "dist/index.d.ts", | ||
"devDependencies": { | ||
"@types/jest": "^26.0.15", | ||
"@types/jest": "^26.0.16", | ||
"@types/mock-fs": "^4.13.0", | ||
"@types/node": "14.14.9", | ||
"@types/node": "14.14.10", | ||
"esbuild": "^0.8.0", | ||
"jest": "^26.6.3", | ||
"mock-fs": "^4.13.0", | ||
"prettier": "^2.2.0", | ||
"rollup": "^2.33.3", | ||
"prettier": "^2.2.1", | ||
"rollup": "^2.34.2", | ||
"rollup-plugin-dts": "^1.4.10", | ||
"ts-jest": "^26.4.4", | ||
"ts-node": "^9.0.0", | ||
"ts-node": "^9.1.1", | ||
"typescript": "^3.9.7" | ||
@@ -39,3 +39,3 @@ }, | ||
"peerDependencies": { | ||
"esbuild": "^0.8.0" | ||
"esbuild": ">=0.7.0" | ||
}, | ||
@@ -42,0 +42,0 @@ "engines": { |
@@ -35,2 +35,3 @@ # rollup-plugin-esbuild | ||
}, | ||
tsconfig: 'tsconfig.json', // default | ||
// Add extra loaders | ||
@@ -37,0 +38,0 @@ loaders: { |
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
82
10130