Things I have to keep in mind when publishing a library in 2023: - Build artifact formats (ESM, CJS, UMD) - Matrixed with: dev/prod/NODE_ENV builds - Bundled or individual .js per source - `exports` setup - Webpack 4 limits - TS `moduleResolution` options - User environments 1/

1 min read Original article ↗

Post

Things I have to keep in mind when publishing a library in 2023: - Build artifact formats (ESM, CJS, UMD) - Matrixed with: dev/prod/NODE_ENV builds - Bundled or individual .js per source - `exports` setup - Webpack 4 limits - TS `moduleResolution` options - User environments 1/

Don't miss what's happening

People on X are the first to know.

Log inSign up