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

Incremental compilation and rewriting plugin #79

Closed
Avol-V opened this issue Jan 2, 2017 · 3 comments
Closed

Incremental compilation and rewriting plugin #79

Avol-V opened this issue Jan 2, 2017 · 3 comments

Comments

@Avol-V
Copy link

Avol-V commented Jan 2, 2017

This plugin seems useless in current state — it much better to build TypeScript separately and use Rollup only for bundle JS files.

But it hard because there is no oficial option to use Rollup with Gulp, where we can use https://github.com/ivogabe/gulp-typescript — it is a good implementation of plugin for build TypeScript.

We need a full support of TypeScript with TS Language Service API and incremental compilation, that is important for develop with watch option.

Currently we should to use some external utils, like rollup-plugin-gulp (that didn't work for me), or use SystemJS to load ES modules directly and build production bundle from these files.
But all these things must be inside this plugin – just plug and work.

@ezolenko
Copy link

I just published a rewrite for a similar reason (not showing any semantic or syntactic errors). https://github.com/ezolenko/rollup-plugin-typescript2

Might work in watch mode too, but haven't tried it yet...

@PaulBGD
Copy link
Collaborator

PaulBGD commented May 23, 2017

This plugin already works with rollup-watch for incremental building, however I'm looking at https://github.com/ivogabe/gulp-typescript to see how we can support TypeScript's internal incremental compilation.

@PaulBGD
Copy link
Collaborator

PaulBGD commented May 23, 2017

#91 now uses the TypeScript language server and supports incremental compilation.

Closing issues that I've integrated into #91, will be merged into master soon.

@PaulBGD PaulBGD closed this as completed May 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants