Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option 'declarationMap' cannot be specified #179

Closed
JounQin opened this issue Jan 25, 2020 · 2 comments
Closed

Option 'declarationMap' cannot be specified #179

JounQin opened this issue Jan 25, 2020 · 2 comments

Comments

@JounQin
Copy link
Contributor

JounQin commented Jan 25, 2020

  • Rollup Plugin Name: @rollup/plugin-typescript
  • Rollup Plugin Version: 2.1.0
  • Rollup Version: 1.29.0
  • Operating System (or Browser): macOS 10.15.2 (19C57)
  • Node Version: v12.14.1

There is no error when using rollup-plugin-typescript@1.0.1

How Do We Reproduce?

https://github.com/rx-ts/pkgr/tree/repro/rollup

branch: repro/rollup

run yarn && yarn build:r

Expected Behavior

No Error

Actual Behavior

Error: Error TS5069: Option 'declarationMap' cannot be specified without specifying option 'declaration' or option 'composite'.
@shellscape
Copy link
Collaborator

Thanks for the issue. Because of time being in short supply, please break down your reproduction to something more minimal, ideally using the repl.it link provided.

@shellscape shellscape changed the title [plugin-typescript] Error TS5069: Option 'declarationMap' cannot be specified without specifying option 'declaration' or option 'composite'. Option 'declarationMap' cannot be specified Jan 27, 2020
@JounQin
Copy link
Contributor Author

JounQin commented Jan 28, 2020

Hmm... After upgrading to @rollup/plugin-typescript@3.0.0, it works. 😀

@JounQin JounQin closed this as completed Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants