Skip to content

Commit

Permalink
feat: add webpack 4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanclark committed Mar 8, 2018
1 parent 325610c commit 20f59ca
Show file tree
Hide file tree
Showing 20 changed files with 7,282 additions and 2,183 deletions.
8 changes: 4 additions & 4 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"check-coverage": false,
"per-file": true,
"statements": 94,
"branches": 83,
"functions": 90,
"lines": 90,
"statements": 85,
"branches": 75,
"functions": 85,
"lines": 85,
"reporter": [
"lcov",
"text",
Expand Down
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sudo: false
language: node_js

node_js:
- 7.6
- 8.10.0

branches:
except:
Expand All @@ -13,10 +13,12 @@ env:
- ISTANBUL_COVERAGE: yes

script:
- yarn bootstrap
- yarn bootstrap --env webpack-2
- yarn lint
- yarn test:webpack-1
- yarn test:webpack-2
- yarn test:webpack-3
- yarn test:webpack-4

after_success:
- yarn upload-coverage
6 changes: 6 additions & 0 deletions env/webpack-1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
"private": true,
"devDependencies": {
"extract-text-webpack-plugin": "1",
"file-loader": "^0.11.1",
"html-loader": "^0.4.5",
"html-webpack-plugin": "2.28.0",
"webpack": "1"
},
"packagesToLink": [
"enhanced-resolve",
"extract-text-webpack-plugin",
"file-loader",
"html-loader",
"html-webpack-plugin",
"webpack"
]
}
Loading

0 comments on commit 20f59ca

Please sign in to comment.