mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 00:39:49 +00:00
Fix load settings manager
This commit is contained in:
parent
c3f561fded
commit
996decce0a
@ -44,4 +44,4 @@
|
||||
"npm": ">= 5.3.0"
|
||||
},
|
||||
"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",
|
||||
"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"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
}
|
@ -49,7 +49,7 @@ module.exports = {
|
||||
|
||||
optionalPath: path => {
|
||||
return path
|
||||
.replace(/(.settings|.json|.js)/g, '')
|
||||
.replace(/(\.settings|.json|.js)/g, '')
|
||||
.split('/')
|
||||
.slice(1, path.split('/').length - 1)
|
||||
.join('.')
|
||||
@ -58,7 +58,7 @@ module.exports = {
|
||||
|
||||
aggregatePath: path => {
|
||||
return path
|
||||
.replace(/(.settings|.json|.js)/g, '')
|
||||
.replace(/(\.settings|.json|.js)/g, '')
|
||||
.split('/')
|
||||
.slice(1)
|
||||
.join('.')
|
||||
|
@ -91,4 +91,4 @@
|
||||
},
|
||||
"preferGlobal": true,
|
||||
"license": "MIT"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user