Skip to content

Commit 783163c

Browse files
authored
Merge pull request #7247 from PrefectHQ/cleanup-vite-config
UI: Clean up the vite config
2 parents a0e430e + 37fe967 commit 783163c

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

orion-ui/vite.config.ts

+5-13
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,15 @@
1-
import { defineConfig } from 'vite'
2-
import vue from '@vitejs/plugin-vue'
31
import { resolve } from 'path'
2+
import vue from '@vitejs/plugin-vue'
3+
import { defineConfig } from 'vite'
44

55
// https://vitejs.dev/config/
66
export default defineConfig({
77
plugins: [vue()],
8-
base: process.env['ORION_UI_SERVE_BASE'] || '',
8+
base: process.env.ORION_UI_SERVE_BASE ?? '',
99
resolve: {
10-
alias: [{ find: '@', replacement: resolve(__dirname, './src') }]
10+
alias: [{ find: '@', replacement: resolve(__dirname, './src') }],
1111
},
1212
css: {
1313
devSourcemap: true,
14-
preprocessorOptions: {
15-
scss: {
16-
charset: false,
17-
additionalData: `
18-
@use '@prefecthq/miter-design/src/styles/abstracts/variables' as *;
19-
`
20-
}
21-
}
22-
}
14+
},
2315
})

0 commit comments

Comments
 (0)