(pluginPath: string)
| 316 | } |
| 317 | |
| 318 | function pluginExtensionPath(pluginPath: string): string { |
| 319 | return pluginPath |
| 320 | .replace(/^\/+/, '') |
| 321 | .split('/') |
| 322 | .filter(Boolean) |
| 323 | .map((segment) => encodeURIComponent(segment)) |
| 324 | .join('/'); |
| 325 | } |
| 326 | |
| 327 | export const configProfileApi = { |
| 328 | schema() { |