mirror of
https://github.com/ezolenko/rollup-plugin-typescript2.git
synced 2025-12-08 19:06:16 +00:00
- fix for lint errors
This commit is contained in:
parent
4806613ed8
commit
33b99bf9af
2
dist/rollup-plugin-typescript2.cjs.js.map
vendored
2
dist/rollup-plugin-typescript2.cjs.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/rollup-plugin-typescript2.es.js.map
vendored
2
dist/rollup-plugin-typescript2.es.js.map
vendored
File diff suppressed because one or more lines are too long
@ -319,7 +319,7 @@ const typescript: PluginImpl<Partial<IOptions>> = (options) =>
|
||||
else
|
||||
{
|
||||
// Otherwise, take the directory name from the path and make sure it is absolute.
|
||||
const destDirname = bundleFile ? dirname(bundleFile) : <string>outputDir;
|
||||
const destDirname = bundleFile ? dirname(bundleFile) : outputDir as string;
|
||||
const destDirectory = isAbsolute(destDirname) ? destDirname : join(process.cwd(), destDirname);
|
||||
writeToPath = join(destDirectory, relative(process.cwd(), fileName));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user