0

I am currently developing a Typescript application using lit html. I have reached the point where I want to bundle all my typescript files, minimize them in to a single javascript file. Using VS Code as the IDE.

I have been looking at options - rollup.js is one option but I couldn't work out how to bundle multiple ts files in to a single js file, minimize it and also ensure the modules are handled correctly.

Any examples of using rollup.js to do such available or another alternative available?

1 Answer 1

1

You can use Parcel js for this as well. This will generate one js file. but if you require rollup js, may be this link will help you out. Generate typescript definition files using rollup

Sign up to request clarification or add additional context in comments.

1 Comment

Parcel will handle the Typescript modules and work with node packages?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.