From d3fe77291da587b66ef59d474cb4f7c6e15a4db5 Mon Sep 17 00:00:00 2001 From: Michael Zetterberg Date: Tue, 26 Mar 2024 13:43:02 +0100 Subject: [PATCH] fix: rte build output named csiv.js always --- rte/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rte/vite.config.ts b/rte/vite.config.ts index 8bba6f5..69ede62 100644 --- a/rte/vite.config.ts +++ b/rte/vite.config.ts @@ -14,7 +14,7 @@ export default defineConfig({ lib: { entry: resolve(__dirname, "main.tsx"), name: "csiv", - fileName: () => (process.env.IS_DEV ? "csiv.js" : "csiv-[hash].js"), + fileName: () => "csiv.js", // @ts-expect-error: 'system' not valid by typings, but works with Rollup formats: ["system"], },