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

Split compiler component and common utils #29454

Closed
5 tasks
Kingwl opened this issue Jan 17, 2019 · 2 comments
Closed
5 tasks

Split compiler component and common utils #29454

Kingwl opened this issue Jan 17, 2019 · 2 comments
Labels
Duplicate An existing issue was already created

Comments

@Kingwl
Copy link
Contributor

Kingwl commented Jan 17, 2019

Search Terms

build

Suggestion

provide signal compiler component and tree shark

Use Cases

I'd like to publish a web app with typescript (actually, factory and emitter only), but there are only one 'typescript.js' file has been provided, and that file is almost 7mb(before gzip), and that is sooooooo bit to a website

eg: https://ts-creator.js.org/ and each other typescript playground

I have tried to pack the typescript with rollup and after tree shark, the factory has only 200kb size,
I consider to add ts as a submodule and build with myself config...

it does not work

As the result, could we provide more signal compiler components? that is useful to other terminal program too (ts-lint?)

Examples

Checklist

My suggestion meets these guidelines:

  • This wouldn't be a breaking change in existing TypeScript/JavaScript code
  • This wouldn't change the runtime behavior of existing JavaScript code
  • This could be implemented without emitting different JS based on the types of the expressions
  • This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
  • This feature would agree with the rest of TypeScript's Design Goals.
@MartinJohns
Copy link
Contributor

Duplicate of #27891

@weswigham weswigham added the Duplicate An existing issue was already created label Jan 17, 2019
@typescript-bot
Copy link
Collaborator

This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

4 participants