We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sanity dev
1 parent 5e40015 commit fec7396Copy full SHA for fec7396
apps/studio/sanity.cli.ts
@@ -5,6 +5,11 @@ export default defineCliConfig({
5
vite: (config) => {
6
return {
7
...config,
8
+ define: {
9
+ ...config.define,
10
+ // Speed up styled-components in dev mode: https://github.com/sanity-io/sanity/pull/7440
11
+ 'process.env.SC_DISABLE_SPEEDY': JSON.stringify('false'),
12
+ },
13
resolve: {
14
...config.resolve,
15
alias: {
0 commit comments