Rspeedy logo
Rspeedy

Home > @lynx-js/external-bundle-rsbuild-plugin > normalizeBundlePath

normalizeBundlePath() function

Normalize a public bundle path by removing leading slashes.

Signature:

export declare function normalizeBundlePath(bundlePath: string): string;

Parameters

ParameterTypeDescription
bundlePathstringThe bundle path to normalize.

Returns:

string

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.