mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-20 21:35:42 +02:00
16 lines
288 B
JavaScript
16 lines
288 B
JavaScript
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig(({ command, mode, isSsrBuild, isPreview }) => {
|
|
if (command === 'serve') {
|
|
return {
|
|
// dev specific config
|
|
}
|
|
} else {
|
|
// command === 'build'
|
|
return {
|
|
// build specific config
|
|
}
|
|
}
|
|
})
|
|
|
|
|