-
Notifications
You must be signed in to change notification settings - Fork 0
/
sanity.config.js
46 lines (45 loc) · 1.05 KB
/
sanity.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import {defineConfig} from 'sanity'
import {deskTool} from 'sanity/desk'
import {visionTool} from '@sanity/vision'
import {countryStateListPlugin} from 'sanity-plugin-country-state-select'
import {recurringDates} from 'sanity-plugin-recurring-dates'
import {crossDatasetDuplicator} from '@sanity/cross-dataset-duplicator'
import {schemaTypes} from './schemas'
export default defineConfig([
{
projectId: '2g5zqxo3',
dataset: 'production',
name: 'production',
basePath: '/production',
title: 'Production',
plugins: [
deskTool(),
visionTool(),
countryStateListPlugin(),
recurringDates(),
crossDatasetDuplicator({
types: ['event'],
follow: [],
}),
],
schema: {
types: schemaTypes,
},
},
{
projectId: '2g5zqxo3',
dataset: 'test',
name: 'development',
basePath: '/test',
title: 'Development',
plugins: [
deskTool(),
visionTool(),
countryStateListPlugin(),
recurringDates(),
],
schema: {
types: schemaTypes,
},
},
])