This is a Webpack tutorial, with development and production setups using an Express server, and Wercker for continuous integration.
Check out the post here.
- Add a
.env
file to the root of the app.
Start the webpack development server on port 8080:
$ npm start
Build the production assets:
$ npm run build
npm run test
- Pushes to master branch will trigger Wercker CI.
- Manual build of the app with
npm run build
- Important ENV vars to set within CI
API_ROOT
// For Asset dist directory
APP_ROOT