-
Notifications
You must be signed in to change notification settings - Fork 809
Conversation
It seems another solution might be setting |
Man, this is a pretty snarky swipe at a lot of people who have put in a lot of free time on a project. We have zero skin in which plugin in used, official or not, and I generally council people to use what works best for them. But I take exception with the portrayal of others' hard work in the PR description. So it's on the record here, this is an exert from rollup/plugins#541, which @benmccann opened earlier today:
I'd expect better from someone in a lead contributor position in a related project. Svelte, Sapper, Rollup - they're all related - and the swipes here are sad and disappointing. As someone involved prolifically in open source, you should know better. Do better. |
I'm sorry if some of my frustration is showing through here. I respect all the time you've put into the plugins and am thankful for it. I've spent a lot of time testing many different versions of The context here is that I've spent many dozens of hours in the past couple of week trying to get a basic template project with TypeScript working. I hit three different bugs with This was just my personal experience with the plugins and understand that may not be representative of what all users have experienced and that I may have a different experience on a larger project. At the end of the day we have to have some plugin listed in the template, and it made sense to me to use the one I've had the best experience with. I've been getting multiple questions per day about how to get TypeScript working and am hoping to reduce the number of issues people hit and this seemed like a way to do that (and my own experience may not be the whole picture, but is all I have to go off of) (I wrote the description of this PR before you replied regarding the download numbers. I appreciate the explanation that they reflect more than the current quality of the plugins. I included the numbers not as a swipe, but because I thought it made sense to use the more widely used plugin. I was frustrated that the more trodden path is not the one that's more promoted and easily discoverable) |
I cannot import TypeScript files in Svelte files when using |
Hmm, weird that I haven't encountered that, but I'm pretty tired of debugging project setup stuff, so I'll go ahead and close this in favor of #173 since the other one seems to work better for you |
The "official" one doesn't work very well. I've hit endless errors with it. E.g. it crashes anytime your code has a compile error.
I couldn't get it to work at all with Sapper due to an open issue when implementing it there, so ended up having Sapper use
rollup-plugin-typescript2
after trying two other pluginsThe "unofficial" one is actually used a lot more:
@rollup/plugin-typescript
- 53k weekly downloadrollup-plugin-typescript2
- 260k weekly downloadsNow I know why...