From 3a11c97fbfa095a52a6e1810a852fc47c6bacfc1 Mon Sep 17 00:00:00 2001 From: "Your Name (aider)" Date: Mon, 28 Apr 2025 01:23:25 +0800 Subject: [PATCH] build: Update build script to include Tailwind CSS build --- vite.config.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/vite.config.js b/vite.config.js index 4cb7579..71f7b8f 100644 --- a/vite.config.js +++ b/vite.config.js @@ -5,4 +5,16 @@ export default defineConfig({ port: 5173, host: 'localhost', }, + build: { + rollupOptions: { + output: { + assetFileNames: (assetInfo) => { + if (assetInfo.name === 'styles.css') { + return 'output.css'; + } + return assetInfo.name; + }, + }, + }, + }, });