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,
yarn
ornpm install
- Then for development just run the script
yarn dev
ornpm run dev
- To build for production just run the script
yarn build
ornpm run build
, it will generate folderbuild
. - To publish on your vercel app, run the script
yarn deploy
ornpm run deploy
, it will start the vercel deploy process.