Skip to content

Commit 7a2d4e9

Browse files
committed
add documentation for npm overrides
1 parent 4391517 commit 7a2d4e9

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,14 @@ module.exports = async function() {
143143
devDependencies: {
144144
'ember-source': '2.11.0'
145145
},
146+
/*
147+
You can optionally define npm overrides to enforce a specific dependency version
148+
to be installed. This is useful if other libraries you depend on include different
149+
versions of a package. This does nothing if `useYarn` is true;
150+
*/
151+
overrides: {
152+
'lodash': '5.0.0'
153+
}
146154
/*
147155
When `useYarn` is true, you can optionally define yarn resolutions to enforce a
148156
specific dependency version to be installed. This is useful if other libraries

0 commit comments

Comments
 (0)