Bundle Typescript without transpiling? #1395
Unanswered
stevefan1999-personal
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to integrate rollup with TypescriptToLua which does not support JS imports yet, so I have to use a bundler to pack Typescript in.
However it uses Typescript types to do optimization and I wonder if that is possible for rollup to not transpile the Typescript, and instead just process the static ES modules import/export. Don't strip types.
For node_modules that have corresponding Typescript source, include them into the bundle as much as possible. That way we can ensure highest level of tstl compatibility
Beta Was this translation helpful? Give feedback.
All reactions