Skip to content

Commit 34579c7

Browse files
committed
feat: Add yarn settings to handle dependencies
Yarn provides a good hablding of the dependencies on top of npm, using yarn has been adopted not only in the webpack project, but also lots of the loaders. In order to keep consitency across projects, adding it here also.
1 parent 89809de commit 34579c7

File tree

3 files changed

+2319
-1
lines changed

3 files changed

+2319
-1
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@
77
node_modules
88

99
# npm-debug log
10-
npm-debug.log
10+
npm-debug.log
11+
12+
# yarn log
13+
yarn-error.log

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"bin": {
1212
"webpack-cli": "./bin/cli.js"
1313
},
14+
"main": "./bin/cli.js",
1415
"scripts": {
1516
"lint": "eslint ./lib"
1617
},

0 commit comments

Comments
 (0)