File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import App from './App.vue';
4
4
import i18n from '@/application/i18n' ;
5
5
import hawk from '@/application/error-catcher' ;
6
6
import router from '@/application/router/index' ;
7
- import '@codexteam/ui/styles' ;
7
+ import '../ @codexteam/ui/dist/ styles.css ' ;
8
8
import '@/presentation/styles/index.pcss' ;
9
9
10
10
const app = createApp ( App ) ;
Original file line number Diff line number Diff line change @@ -2,16 +2,12 @@ import { defineConfig, loadEnv } from 'vite';
2
2
import vue from '@vitejs/plugin-vue' ;
3
3
import hawkVitePlugin from '@hawk.so/vite-plugin' ;
4
4
import process from 'process' ;
5
+ import path from 'path' ;
5
6
6
7
export default defineConfig ( ( { mode } ) => {
7
8
const env = loadEnv ( mode , process . cwd ( ) ) ;
8
9
9
10
return {
10
- build : {
11
- rollupOptions : {
12
- external : [ 'codex-ui/vue' ] ,
13
- } ,
14
- } ,
15
11
plugins : [
16
12
vue ( ) ,
17
13
hawkVitePlugin ( {
@@ -20,6 +16,7 @@ export default defineConfig(({ mode }) => {
20
16
] ,
21
17
resolve : {
22
18
alias : {
19
+ 'codex-ui' : path . resolve ( __dirname , './@codexteam/ui/dist' ) ,
23
20
/* eslint-disable-next-line @typescript-eslint/naming-convention */
24
21
'@/' : '/src/' ,
25
22
} ,
You can’t perform that action at this time.
0 commit comments