@electrolux-oss/sanity-plugin-media 1.0.0 → 1.0.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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -156,17 +156,17 @@ This will set up your plugin to build whenever the code changes, and publish the
|
|
|
156
156
|
In the command log, there should be a note that reads something like this:
|
|
157
157
|
|
|
158
158
|
```sh
|
|
159
|
-
npx yalc add sanity-plugin-media
|
|
159
|
+
npx yalc add sanity-plugin-media && npx yalc link sanity-plugin-media && npm install
|
|
160
160
|
```
|
|
161
161
|
|
|
162
162
|
Run this command in the studio project directory and you should see something like this in the `package.json` file:
|
|
163
163
|
|
|
164
164
|
```
|
|
165
|
-
"sanity-plugin-media
|
|
165
|
+
"sanity-plugin-media": "file:.yalc/sanity-plugin-media",
|
|
166
166
|
```
|
|
167
167
|
|
|
168
168
|
Which means you can safely use the local version of the plugin with this import:
|
|
169
169
|
|
|
170
170
|
```
|
|
171
|
-
import { media } from 'sanity-plugin-media
|
|
171
|
+
import { media } from 'sanity-plugin-media'
|
|
172
172
|
```
|