Skip to content
An example how to Configure Webpack for development / production env
JavaScript Makefile HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.babelrc
.gitignore
.yarnrc
Makefile
balime-si-na-dovolenou.md
package.json
postcss.config.js
readme.md
webpack.config.babel.js
yarn.lock

readme.md

Webpack The Right way

Install

yarn install

Development mode

yarn run server # create server on localhost:5000
yarn run build # build only
yarn run watch # build & watch

Production mode

yarn run build:production

Reports & analysis

yarn run report

Cleanup

yarn run cleanup
You can’t perform that action at this time.