Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #154 from mzgoddard/webpack-2-options
Add some help for configuring the loader with webpack 2
- Loading branch information
Showing
5 changed files
with
157 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
language: node_js | ||
node_js: | ||
- "iojs" | ||
- "0.12" | ||
- "0.10" | ||
sudo: false | ||
node_js: | ||
- "4" | ||
env: | ||
matrix: | ||
- WEBPACK_VERSION=1.13.1 WEBPACK_DEV_SERVER_VERSION=1.7.0 | ||
- WEBPACK_VERSION=2.1.0-beta.7 WEBPACK_DEV_SERVER_VERSION=2.1.0-beta.0 | ||
- WEBPACK_VERSION=1.13.1 WEBPACK_DEV_SERVER_VERSION=1.7.0 MOCHA_LOADER=0.7.1 | ||
- WEBPACK_VERSION=2.1.0-beta.23 WEBPACK_DEV_SERVER_VERSION=2.1.0-beta.0 MOCHA_LOADER=1.0.0 | ||
matrix: | ||
include: | ||
- node_js: "0.12" | ||
env: WEBPACK_VERSION=1.13.1 WEBPACK_DEV_SERVER_VERSION=1.7.0 MOCHA_LOADER=0.7.1 | ||
- node_js: "0.10" | ||
env: WEBPACK_VERSION=1.13.1 WEBPACK_DEV_SERVER_VERSION=1.7.0 MOCHA_LOADER=0.7.1 | ||
before_install: | ||
- "export DISPLAY=:99.0" | ||
- "sh -e /etc/init.d/xvfb start" | ||
before_script: | ||
- npm rm webpack webpack-dev-server | ||
- npm install webpack@$WEBPACK_VERSION webpack-dev-server@$WEBPACK_DEV_SERVER_VERSION | ||
- npm rm webpack webpack-dev-server mocha-loader | ||
- npm install webpack@$WEBPACK_VERSION webpack-dev-server@$WEBPACK_DEV_SERVER_VERSION mocha-loader@$MOCHA_LOADER | ||
script: | ||
- "node_modules/.bin/webpack --config test/webpack.config.js --output-path=test/tmp --output-filename=bundle.js" | ||
- "node_modules/.bin/testem ci -l firefox" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters