It would be nice to add an example with 2 components and introduce setup with tree-shaking, because why should I publish a library where the total size of the package is always imported regardless of the components used.
ur video is cool but i have a question do i call 'npm run build' and 'npm run dev' every time i changed my code? i dont see any changes on page without rebuilding. i try add react-refresh plugin and remove cash but its doesnt help me :( i see u have a hot module reload system (or something else), because ur page is reload automaticaly after any changes, but also i dont understand how add this in my project( thnk you
Huge kuddos for this great video
Bro thank you so much for this video. You have no idea how helpful it was.
Amazing video,
We should have added .npmignore file to avoid publishing src, tsconfig.json files in npm
Thank you. Looking forward to the next part.
This video is gold
Great video. If you could zoom in on the IDE a bit for the next ones 🙏
nice content 🎉
It would be nice to add an example with 2 components and introduce setup with tree-shaking, because why should I publish a library where the total size of the package is always imported regardless of the components used.
ur video is cool but i have a question
do i call 'npm run build' and 'npm run dev' every time i changed my code? i dont see any changes on page without rebuilding. i try add react-refresh plugin and remove cash but its doesnt help me :(
i see u have a hot module reload system (or something else), because ur page is reload automaticaly after any changes, but also i dont understand how add this in my project(
thnk you
I'm having the same issue, would love to know how to fix this
Unable to run npm build with this error :
vite.config.ts:2:25 - error TS2307: Cannot find module 'path' or its corresponding type declarations.
2 import { resolve } from 'path'
~~~~~~
vite.config.ts:11:22 - error TS2304: Cannot find name '__dirname'.
11 entry: resolve(__dirname, 'lib/main.ts'),
~~~~~~~~~ .
RESOLVED : npm install --save-dev @types/node
Great video.