Skip to content

Coding for the long view

If I knew then what I know now…

  • Home
  • Blog Articles
  • About
  • Contact

Tag Archives: rollup

Vite : Build a lib & erase comments

I’m writing a JavaScript lib with TypeScript, using the excellent Vite for on-the-fly transpiling and packaging. This post is about the config I use and specifically covers removal of comments because I Googled for a solution but it wasn’t obvious so I’m writing about it here.

Posted byVanquishedWombat19th Apr 202312th May 2023Posted inUncategorizedTags:rollup, terser, typescript, viteLeave a comment on Vite : Build a lib & erase comments
Coding for the long view, Blog at WordPress.com.
  • Follow Following
    • Coding for the long view
    • Already have a WordPress.com account? Log in now.
    • Coding for the long view
    • Customise
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar