untracked 1.4.8 → 1.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/load-config.js +1 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "untracked",
|
|
3
3
|
"description": "Universal way for ignoring unnecessary common files to fit your bundle",
|
|
4
4
|
"homepage": "https://nicedoc.io/Kikobeats/untracked",
|
|
5
|
-
"version": "1.4.
|
|
5
|
+
"version": "1.4.9",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"bin": {
|
|
8
8
|
"untracked": "bin/index.js"
|
package/src/load-config.js
CHANGED
|
@@ -24,7 +24,7 @@ const loadConfig = async cwd => {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
const createCollection = (configFile, propName) => {
|
|
27
|
-
const collection = new Set(get(configFile,
|
|
27
|
+
const collection = new Set(get(configFile, propName, []))
|
|
28
28
|
DEFAULT[propName] && DEFAULT[propName].forEach(item => collection.add(item))
|
|
29
29
|
return Array.from(collection)
|
|
30
30
|
}
|