https://github.com/ericmorand/rollup-plugin-typescript-issue
https://github.com/ericmorand/rollup-plugin-typescript-issue
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ericmorand/rollup-plugin-typescript-issue
- Owner: ericmorand
- Created: 2023-12-14T19:02:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-14T19:45:39.000Z (over 2 years ago)
- Last Synced: 2025-01-26T17:11:17.878Z (over 1 year ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rollup TypeScript Plugin Issue
## Steps to reproduce
* Change directory to `foo`
* Execute rollup `rollup -c ../rollup.config.mjs`
* Witness the error:
```sh
$ rollup -c ../../rollup.config.mjs
index.ts → dist/index.cjs...
created dist/index.cjs in [...]ms
index.ts → dist/index.cjs...
[!] RollupError: Could not resolve "../src" from "index.ts"
index.ts
```
Only the first Rollup configuration where the `include` option is a regular expression works properly.