From dbc822b065bf0f78b0394c998604738e3522f6e7 Mon Sep 17 00:00:00 2001 From: Augustin Husson Date: Tue, 6 Aug 2024 14:01:38 +0200 Subject: [PATCH] fix markdown chart name in rsbuild (#8) Signed-off-by: Augustin Husson --- MarkdownChart/rsbuild.config.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MarkdownChart/rsbuild.config.ts b/MarkdownChart/rsbuild.config.ts index 31cc591..38405ee 100644 --- a/MarkdownChart/rsbuild.config.ts +++ b/MarkdownChart/rsbuild.config.ts @@ -20,19 +20,19 @@ export default defineConfig({ port: 3005, }, dev: { - assetPrefix: '/plugins-dev/Markdown/', + assetPrefix: '/plugins-dev/MarkdownChart/', }, output: { - assetPrefix: '/plugins/Markdown/', + assetPrefix: '/plugins/MarkdownChart/', }, plugins: [pluginReact()], tools: { htmlPlugin: false, rspack: (config, { appendPlugins }) => { - config.output!.uniqueName = 'Markdown'; + config.output!.uniqueName = 'MarkdownChart'; appendPlugins([ new ModuleFederationPlugin({ - name: 'Markdown', + name: 'MarkdownChart', exposes: { './Chart': './src/Chart.tsx', },