Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ install:
script:
- npm run test3 # The pretest hook runs a build
- npm run test4
- npm run test5
deploy:
provider: npm
skip_cleanup: true
email: "$NPM_EMAIL"
api_key: "$NPM_API_KEY"
on:
branch: deploy
tags: true
tags: true
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ There is one source file, `src/ConfigWebpackPlugin.js`. It is written in ES6 and

Notes on Webpack versions
-------------------------
This project should support Webpack versions `3.x` and `4.x`. Two commands, `npm run test3` and `npm run test4` install both respective versions and test them. Travis CI is set up to build and test both versions.
This project should support Webpack versions `3.x`, `4.x` and `5.x`. Three commands, `npm run test3`, `npm run test4` and `npm run test5` install respective versions and test them. Travis CI is set up to build and test all versions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ console.log(CONFIG.walruses[3].name);

All of `node-config`'s features, including deployment- and instance-specific files, local files, and environment variables should work with `node-config-webpack`. `node-config-webpack` bundles your config on the machine that builds it. That means if you bundle on a development machine and deploy on a production machine, you'll get the development config.

`config-webpack` is tested with Webpack versions `3.x` and `4.x`.
`config-webpack` is tested with Webpack versions `3.x`, `4.x` and `5.x`.

Configuring
-----------
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"test": "mocha --require babel-register",
"test3": "npm install webpack@3.x && npm run test",
"test4": "npm install webpack@4.x && npm run test",
"test5": "npm install webpack@5.x && npm run test",
"pretest": "npm run build"
},
"repository": {
Expand Down Expand Up @@ -37,6 +38,6 @@
},
"peerDependencies": {
"config": "^1.30.0 || ^2.0.0 || ^3.0.0",
"webpack": "^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0"
"webpack": "^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0"
}
}