Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

typescript-helpers.js shouldn't be included in sourcemap #61

Closed
ronzeidman opened this issue Aug 4, 2016 · 3 comments · Fixed by #64
Closed

typescript-helpers.js shouldn't be included in sourcemap #61

ronzeidman opened this issue Aug 4, 2016 · 3 comments · Fixed by #64

Comments

@ronzeidman
Copy link

ronzeidman commented Aug 4, 2016

This is part of the sourcemap when I use rollup:
"sources":["../node_modules/rollup-plugin-typescript/src/typescript-helpers.js","..
since the rollup-plugin-typescript is a devDependency it won't be included when someone imports my library.
This causes issues with bundling sites that uses my library
Example:
https://github.com/ronzeidman/ng2-ui-auth/blob/master/dist/ng2-ui-auth.js.map

@maxdavidson
Copy link
Contributor

This was an issue with rollup-plugin-babel that was resolved by adding functionality to rollup for ignoring a file from the sourcemap. See rollup/rollup-plugin-babel#64.

@TrySound
Copy link
Member

@maxdavidson Thanks. Do you want to create PR with fix and test case?

@maxdavidson
Copy link
Contributor

@TrySound Sure, I'll see what I come up with

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants