To start up a Webpack Development Server, run the following command:
# Using npm
npm run dev
# Using Yarn
yarn dev
Specific production configuration is setup in webpack.prod.js
.
To build a production bundle run:
# Using npm
npm run build
# Using Yarn
yarn build
After that you will have a ready to deploy bundle at /dist
.
Make sure to check postcss.config.js
and .babelrc
for more information about PostCSS and Babel's configuration.