Examples of how to use webpack and various webpack addons.
There is one package.json
file which includes all build and test dependencies.
In the top level directory:
npm install
To build all examples, in the top level directory:
make
To build one example, change to the example's directory and:
`npm bin`/webpack
There are tests to verify the expected files are present in the build output directories. For all examples, in the top level directory:
make test
There are acceptance tests for the webpack examples. They're run with selenium webdriver using phantomjs. To test all examples, in the top level directory:
make acceptanceTest
To run one test, change to the example's directory and:
PATH=`npm bin`:$PATH mocha
Copyright (c) 2015 ebargtuo
MIT (http://www.opensource.org/licenses/mit-license.php)
Parts of these example configurations are derived from other examples and documentation.
Basic HTML template is based on ideas from the HTML5 boilerplate project.
The test to verify built files in the distribution directories is adapted from a similar test in the HTML5 boilerplate project.