paint-brush
Building and publishing a module with TypeScript and Rollup.jsby@GRardB
34,140 reads
34,140 reads

Building and publishing a module with TypeScript and Rollup.js

by Gerard O'Neill6mJuly 5th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

I recently decided to publish <a href="https://www.npmjs.com/package/unstated-viewer" target="_blank">an NPM module</a>. I wrote it in <a href="https://www.typescriptlang.org/" target="_blank">TypeScript</a> and went with <a href="https://rollupjs.org" target="_blank">Rollup</a> for bundling. It was my first time publishing a module and my first experience with Rollup, so I’d like to write a tutorial on how to do it, both as a reference for myself and for anyone who may find this useful. Let’s get started!

People Mentioned

Mention Thumbnail

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Building and publishing a module with TypeScript and Rollup.js
Gerard O'Neill HackerNoon profile picture
Gerard O'Neill

Gerard O'Neill

@GRardB

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite