fixed the build for talespire
This commit is contained in:
@@ -8,7 +8,15 @@ export default defineConfig({
|
|||||||
react(),
|
react(),
|
||||||
tailwindcss(),
|
tailwindcss(),
|
||||||
],
|
],
|
||||||
|
base: './',
|
||||||
build: {
|
build: {
|
||||||
outDir: 'dist',
|
minify: 'esbuild', // ← Statt terser
|
||||||
|
rollupOptions: {
|
||||||
|
output: {
|
||||||
|
assetFileNames: 'assets/[name].[ext]',
|
||||||
|
chunkFileNames: 'assets/[name].js',
|
||||||
|
entryFileNames: 'assets/[name].js'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user