@sanity/document-internationalization 3.2.0 → 3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -76,10 +76,10 @@ The only required configuration is:
76
76
  ```ts
77
77
  // sanity.config.ts
78
78
 
79
- import {createConfig} from 'sanity'
79
+ import {defineConfig} from 'sanity'
80
80
  import {documentInternationalization} from '@sanity/document-internationalization'
81
81
 
82
- export const createConfig({
82
+ export const defineConfig({
83
83
  // ... all other config
84
84
  plugins: [
85
85
  // ... all other plugins
@@ -102,10 +102,10 @@ The plugin also supports asynchronously retrieving languages from the dataset, m
102
102
  ```ts
103
103
  // sanity.config.ts
104
104
 
105
- import {createConfig} from 'sanity'
105
+ import {defineConfig} from 'sanity'
106
106
  import {documentInternationalization} from '@sanity/document-internationalization'
107
107
 
108
- export const createConfig({
108
+ export const defineConfig({
109
109
  // ... all other config
110
110
  plugins: [
111
111
  // ... all other plugins