1
- import { defineConfig } from ' @caido-community/dev' ;
2
- import vue from ' @vitejs/plugin-vue' ;
1
+ import { defineConfig } from " @caido-community/dev" ;
2
+ import vue from " @vitejs/plugin-vue" ;
3
3
import tailwindcss from "tailwindcss" ;
4
4
// @ts -expect-error no declared types at this time
5
5
import tailwindPrimeui from "tailwindcss-primeui" ;
@@ -10,7 +10,7 @@ export default defineConfig({
10
10
id : "devtools" ,
11
11
name : "Devtools" ,
12
12
description : "Hot-reloading for faster Caido plugin development" ,
13
- version : "0.0.1 " ,
13
+ version : "0.0.2 " ,
14
14
author : {
15
15
name : "Caido Labs Inc." ,
16
16
@@ -23,18 +23,18 @@ export default defineConfig({
23
23
root : "packages/backend" ,
24
24
} ,
25
25
{
26
- kind : ' frontend' ,
26
+ kind : " frontend" ,
27
27
id : "frontend" ,
28
- root : ' packages/frontend' ,
28
+ root : " packages/frontend" ,
29
29
backend : {
30
30
id : "backend" ,
31
31
} ,
32
32
vite : {
33
33
plugins : [ vue ( ) ] ,
34
34
build : {
35
35
rollupOptions : {
36
- external : [ ' @caido/frontend-sdk' ]
37
- }
36
+ external : [ " @caido/frontend-sdk" ] ,
37
+ } ,
38
38
} ,
39
39
resolve : {
40
40
alias : [
@@ -52,25 +52,24 @@ export default defineConfig({
52
52
preflight : false ,
53
53
} ,
54
54
content : [
55
- ' ./packages/frontend/src/**/*.{vue,ts}' ,
56
- ' ./node_modules/@caido/primevue/dist/primevue.mjs'
55
+ " ./packages/frontend/src/**/*.{vue,ts}" ,
56
+ " ./node_modules/@caido/primevue/dist/primevue.mjs" ,
57
57
] ,
58
58
// Check the [data-mode="dark"] attribute on the <html> element to determine the mode
59
59
// This attribute is set in the Caido core application
60
60
darkMode : [ "selector" , '[data-mode="dark"]' ] ,
61
61
plugins : [
62
-
63
62
// This plugin injects the necessary Tailwind classes for PrimeVue components
64
63
tailwindPrimeui ,
65
64
66
65
// This plugin injects the necessary Tailwind classes for the Caido theme
67
66
tailwindCaido ,
68
67
] ,
69
- } )
70
- ]
71
- }
72
- }
73
- }
74
- }
75
- ]
68
+ } ) ,
69
+ ] ,
70
+ } ,
71
+ } ,
72
+ } ,
73
+ } ,
74
+ ] ,
76
75
} ) ;
0 commit comments