If you only want to use this webpack 5 configuration and dont want to know how to implement it, well just clone this repo and start develop.
git clone https://github.com/amaca/core-bundler.git- Navigate to folder you just clone
- Install all Dependencies,
yarnornpm install - Then for development just run the script
yarn devornpm run dev - To build for production just run the script
yarn buildornpm run build, it will generate folderbuild. - To publish on your vercel app, run the script
yarn deployornpm run deploy, it will start the vercel deploy process.