-
-
Notifications
You must be signed in to change notification settings - Fork 604
Closed
Description
- Rollup Plugin Name:
@rollup/plugin-typescript
- Rollup Plugin Version:
12.1.0
- Rollup Version:
4.22.4
- Operating System (or Browser): Linux
- Node Version:
20
- Link to reproduction (
⚠️ read below): build(deps-dev): bump @rollup/plugin-typescript from 11.1.6 to 12.1.0 remarkablemark/html-react-parser#1535
Expected Behavior
Rollup build does not error
Actual Behavior
Rollup build throws error:
> html-react-parser@5.1.16 build:umd
> rollup --config --failAfterWarnings
umd/index.ts → dist/html-react-parser.js...
[!] (plugin typescript) RollupError: [plugin typescript] @rollup/plugin-typescript: Path of Typescript compiler option 'outDir' must be located inside the same directory as the Rollup 'file' option.
at getRollupError (/home/runner/work/html-react-parser/html-react-parser/node_modules/rollup/dist/shared/parseAst.js:282:41)
at Object.error (/home/runner/work/html-react-parser/html-react-parser/node_modules/rollup/dist/shared/parseAst.js:278:42)
at Object.error (/home/runner/work/html-react-parser/html-react-parser/node_modules/rollup/dist/shared/rollup.js:815:32)
at validatePaths (file:///home/runner/work/html-react-parser/html-react-parser/node_modules/@rollup/plugin-typescript/dist/es/index.js:404:29)
at Object.renderStart (file:///home/runner/work/html-react-parser/html-react-parser/node_modules/@rollup/plugin-typescript/dist/es/index.js:826:13)
at /home/runner/work/html-react-parser/html-react-parser/node_modules/rollup/dist/shared/rollup.js:1000:40
at async Promise.all (index 0)
at PluginDriver.hookParallel (/home/runner/work/html-react-parser/html-react-parser/node_modules/rollup/dist/shared/rollup.js:928:9)
at Bundle.generate (/home/runner/work/html-react-parser/html-react-parser/node_modules/rollup/dist/shared/rollup.js:19607:13)
at /home/runner/work/html-react-parser/html-react-parser/node_modules/rollup/dist/shared/rollup.js:21248:27
Additional Information
May be related to #1773
Metadata
Metadata
Assignees
Labels
No labels