Related post https://twitter.com/mamadoudicko_/status/1627713326657556480?s=20
Install dependencies:
pnpm install
Create a production build (dist folder):
pnpm run build-prod
Run
node dist/bundle.js
Highlights the differences between #CommonJS and #ES6, emphasizing the non-tree-shakable nature of CommonJS modules for better understanding.
Related post https://twitter.com/mamadoudicko_/status/1627713326657556480?s=20
Install dependencies:
pnpm install
Create a production build (dist folder):
pnpm run build-prod
Run
node dist/bundle.js