Description
This simple example demonstrates the absolute basics of webpack.
Installation
- Use either
yarn install
(prefered) ornpm install
to install the dependencies. - Run the build via
node_modules/.bin/webpack
or use the NPM script viayarn build
ornpm run build
- Run the dev server via
node_modules/.bin/webpack-dev-server
or use the NPM script viayarn start
ornpm start