mirror of
https://github.com/System-End/cdn.git
synced 2026-04-19 15:18:15 +00:00
31 lines
497 B
TypeScript
31 lines
497 B
TypeScript
import {defineConfig} from 'vite'
|
|
import RubyPlugin from 'vite-plugin-ruby'
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
RubyPlugin(),
|
|
],
|
|
|
|
build: {
|
|
minify: false
|
|
},
|
|
|
|
resolve: {
|
|
dedupe: ['@primer/view-components', '@github/catalyst']
|
|
},
|
|
|
|
optimizeDeps: {
|
|
include: ['@primer/view-components'],
|
|
esbuildOptions: {
|
|
keepNames: true
|
|
}
|
|
},
|
|
|
|
server: {
|
|
hmr: {
|
|
overlay: true
|
|
}
|
|
},
|
|
|
|
|
|
})
|