File tree Expand file tree Collapse file tree 3 files changed +1018
-976
lines changed Expand file tree Collapse file tree 3 files changed +1018
-976
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ This file is optional since we are only using the fetch exchange.
3+ Added to the starter to show how to configure exchanges in a Drupal Vite project.
4+ You can remove this file if you are not using any other exchanges.
5+ */
6+ import { DrupalDecoupledConfig } from 'drupal-vite'
7+ import { fetchExchange } from '@urql/core'
8+
9+ export default {
10+ exchanges : [ fetchExchange ] ,
11+ } satisfies DrupalDecoupledConfig
Original file line number Diff line number Diff line change 2929 "clsx" : " ^2.1.1" ,
3030 "composable-functions" : " ^5.0.0" ,
3131 "drupal-decoupled" : " ^0.2.2" ,
32- "drupal-vite" : " ^0.0.2 " ,
32+ "drupal-vite" : " ^0.4.0 " ,
3333 "gql.tada" : " ^1.8.10" ,
3434 "isbot" : " ^5.1.17" ,
3535 "lucide-react" : " ^0.474.0" ,
You can’t perform that action at this time.
0 commit comments