👩💻 Join our community of thousands of amazing developers!
I spent the afternoon migrating a pretty large studio from version 2 to version 3. It was pretty challenging, rewarding and frustrating at time so I thought I’d jot down my thoughts. Aliases Last year, I wrote about sharing code between a Sanity studio and the app it relates to by configuring Webpack aliases. Sanity v3 is no longer built on top of Webpack though; it uses Vite which uses Rollup. It took me a long time to figure out that the path aliasing configuration needs to be defined in the s...