mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 17:00:55 +00:00
Fix load settings manager
This commit is contained in:
parent
c3f561fded
commit
996decce0a
@ -44,4 +44,4 @@
|
|||||||
"npm": ">= 5.3.0"
|
"npm": ">= 5.3.0"
|
||||||
},
|
},
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
}
|
}
|
12335
packages/strapi-helper-plugin/package-lock.json
generated
12335
packages/strapi-helper-plugin/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
17853
packages/strapi-plugin-settings-manager/package-lock.json
generated
17853
packages/strapi-plugin-settings-manager/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -65,4 +65,4 @@
|
|||||||
"npm": ">= 3.0.0"
|
"npm": ">= 3.0.0"
|
||||||
},
|
},
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
}
|
}
|
@ -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('.')
|
||||||
|
@ -91,4 +91,4 @@
|
|||||||
},
|
},
|
||||||
"preferGlobal": true,
|
"preferGlobal": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user