Fix load settings manager

This commit is contained in:
Jim Laurie 2017-08-02 11:26:47 +02:00
parent c3f561fded
commit 996decce0a
7 changed files with 6 additions and 30194 deletions

View File

@ -44,4 +44,4 @@
"npm": ">= 5.3.0" "npm": ">= 5.3.0"
}, },
"license": "MIT" "license": "MIT"
} }

File diff suppressed because it is too large Load Diff

View File

@ -120,4 +120,4 @@
"webpack-hot-middleware": "2.13.1", "webpack-hot-middleware": "2.13.1",
"whatwg-fetch": "1.0.0" "whatwg-fetch": "1.0.0"
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -65,4 +65,4 @@
"npm": ">= 3.0.0" "npm": ">= 3.0.0"
}, },
"license": "MIT" "license": "MIT"
} }

View File

@ -49,7 +49,7 @@ module.exports = {
optionalPath: path => { optionalPath: path => {
return path return path
.replace(/(.settings|.json|.js)/g, '') .replace(/(\.settings|.json|.js)/g, '')
.split('/') .split('/')
.slice(1, path.split('/').length - 1) .slice(1, path.split('/').length - 1)
.join('.') .join('.')
@ -58,7 +58,7 @@ module.exports = {
aggregatePath: path => { aggregatePath: path => {
return path return path
.replace(/(.settings|.json|.js)/g, '') .replace(/(\.settings|.json|.js)/g, '')
.split('/') .split('/')
.slice(1) .slice(1)
.join('.') .join('.')

View File

@ -91,4 +91,4 @@
}, },
"preferGlobal": true, "preferGlobal": true,
"license": "MIT" "license": "MIT"
} }