fix: Use native a tag for https URL in the sidebar (#10254)

This PR updates the sidebar component to use a native <a> tag for the Help Center URL component. It also updates the build pipeline to use the esbuild options minifyIdentifiers and keepNames set to true.
This commit is contained in:
Pranav
2024-10-09 21:04:04 -07:00
committed by GitHub
parent b49eaa5c45
commit 8505aa48c3
2 changed files with 16 additions and 6 deletions

View File

@@ -42,6 +42,11 @@ if (isLibraryMode) {
plugins = [vue(vueOptions)];
}
const esbuildOptions = {
minifyIdentifiers: false,
keepNames: true,
};
export default defineConfig({
plugins: plugins,
build: {
@@ -107,4 +112,5 @@ export default defineConfig({
mockReset: true,
clearMocks: true,
},
esbuild: isLibraryMode ? esbuildOptions : undefined,
});