Webpack The Right way Install yarn install Development mode yarn run server # create server on localhost:5000 yarn build # build only yarn watch # build & watch Production mode yarn run build:production Reports & analysis yarn run report