@sanity/code-input 3.0.0-v3-studio-async-test.0 → 3.0.0-v3-studio.7

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.
Files changed (2) hide show
  1. package/README.md +9 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -179,6 +179,15 @@ with default configuration for build & watch scripts.
179
179
  See [Testing a plugin in Sanity Studio](https://github.com/sanity-io/plugin-kit#testing-a-plugin-in-sanity-studio)
180
180
  on how to run this plugin with hotreload in the studio.
181
181
 
182
+ ### Dev note on parcel + vite in dev mode:
183
+ Vite will emit a warning when using yalc add + link in a Studio running with
184
+ vite dev server.
185
+ It happens because parcel appends ?currentTimestamp to the import statement for
186
+ cache busting, which is [not supported by vite](https://github.com/rollup/plugins/tree/master/packages/dynamic-import-vars#limitations).
187
+
188
+ However, the code _works_, and when building for production this is not an issue, as parcel
189
+ will not suffix the timestamp in the prod bundle.
190
+
182
191
  ## Release new version
183
192
 
184
193
  Run ["CI & Release" workflow](https://github.com/sanity-io/code-input/actions).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/code-input",
3
- "version": "3.0.0-v3-studio-async-test.0",
3
+ "version": "3.0.0-v3-studio.7",
4
4
  "description": "Ace editor for editing code",
5
5
  "source": "./src/index.ts",
6
6
  "exports": {