File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed
Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -6,30 +6,28 @@ import { FileSystemIconLoader } from 'unplugin-icons/loaders'
66
77const __dirname = url . fileURLToPath ( new URL ( '.' , import . meta. url ) )
88
9- // https://vitejs.dev/config/
109export default defineConfig ( {
1110 resolve : {
1211 alias : {
1312 '@' : path . resolve ( __dirname , './src' ) ,
1413 '@core' : path . resolve ( __dirname , './src/core' ) ,
15- '@components' : path . resolve ( __dirname , './src/components' )
16- }
14+ '@components' : path . resolve ( __dirname , './src/components' ) ,
15+ '@wdio/devtools-service/types' : path . resolve (
16+ __dirname ,
17+ '../service/dist/types.js'
18+ ) ,
19+ } ,
1720 } ,
1821 plugins : [
1922 Icons ( {
2023 compiler : 'web-components' ,
2124 webComponents : {
2225 autoDefine : true ,
23- shadow : false
26+ shadow : false ,
2427 } ,
2528 customCollections : {
26- custom : FileSystemIconLoader ( './src/assets/icons' )
27- }
28- } )
29+ custom : FileSystemIconLoader ( './src/assets/icons' ) ,
30+ } ,
31+ } ) ,
2932 ] ,
30- build : {
31- rollupOptions : {
32- external : [ '@wdio/devtools-service/types' ]
33- }
34- }
3533} )
You can’t perform that action at this time.
0 commit comments