@rollup/plugin-typescript
Advanced tools
Comparing version 9.0.2 to 10.0.0
@@ -854,2 +854,9 @@ 'use strict'; | ||
: null); | ||
const cwd = normalizePath(process.cwd()); | ||
if (parsedOptions.options.declaration && | ||
parsedOptions.options.declarationDir && | ||
(baseDir === null || baseDir === void 0 ? void 0 : baseDir.startsWith(cwd))) { | ||
const declarationDir = baseDir.slice(cwd.length + 1); | ||
baseDir = baseDir.slice(0, -1 * declarationDir.length); | ||
} | ||
if (!baseDir && tsconfig) { | ||
@@ -856,0 +863,0 @@ baseDir = tsconfig.substring(0, tsconfig.lastIndexOf('/')); |
@@ -832,2 +832,9 @@ import * as path from 'path'; | ||
: null); | ||
const cwd = normalizePath(process.cwd()); | ||
if (parsedOptions.options.declaration && | ||
parsedOptions.options.declarationDir && | ||
(baseDir === null || baseDir === void 0 ? void 0 : baseDir.startsWith(cwd))) { | ||
const declarationDir = baseDir.slice(cwd.length + 1); | ||
baseDir = baseDir.slice(0, -1 * declarationDir.length); | ||
} | ||
if (!baseDir && tsconfig) { | ||
@@ -834,0 +841,0 @@ baseDir = tsconfig.substring(0, tsconfig.lastIndexOf('/')); |
{ | ||
"name": "@rollup/plugin-typescript", | ||
"version": "9.0.2", | ||
"version": "10.0.0", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
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
92488
1812