Remove unnecessary exports of file-local helpers
Remove the `export` keyword from functions that are only used within their own file and are not part of any package's public API: - `parseStringsParam` and `isOrder` in notifications-backend - `toWeb` in backend-defaults urlReader - `resolvePublicPath` in app-backend Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -70,7 +70,7 @@ ${JSON.stringify(appConfigs, null, 2)
|
||||
return Buffer.from(indexHtmlContentWithConfig, 'utf8');
|
||||
}
|
||||
|
||||
export function resolvePublicPath(config: Config) {
|
||||
function resolvePublicPath(config: Config) {
|
||||
const baseUrl = new URL(
|
||||
config.getOptionalString('app.baseUrl') ?? '/',
|
||||
'http://localhost:7007',
|
||||
|
||||
Reference in New Issue
Block a user