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?

amateur
  • 43,371
  • 65
  • 192
  • 320

1 Answers1

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

Mr Khan
  • 2,139
  • 1
  • 7
  • 22