File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 32
32
- name : Install dependencies
33
33
run : pnpm install
34
34
35
+ - name : Prepare playground
36
+ run : npx nuxt prepare playground
37
+
35
38
- name : Build
36
39
run : pnpm build
Original file line number Diff line number Diff line change @@ -87,11 +87,11 @@ export default defineNuxtModule<ModuleOptions>({
87
87
88
88
const apiURL = process . env . NUXT_PUBLIC_STUDIO_API_URL || process . env . STUDIO_API || 'https://api.nuxt.studio'
89
89
const publicToken = process . env . NUXT_PUBLIC_STUDIO_TOKENS
90
- nuxt . options . runtimeConfig . studio = defu ( nuxt . options . runtimeConfig . studio , {
90
+ nuxt . options . runtimeConfig . studio = defu ( nuxt . options . runtimeConfig . studio as any , {
91
91
publicToken,
92
92
project : options . project
93
93
} )
94
- nuxt . options . runtimeConfig . public . studio = defu ( nuxt . options . runtimeConfig . public . studio , { apiURL } )
94
+ nuxt . options . runtimeConfig . public . studio = defu ( nuxt . options . runtimeConfig . public . studio as any , { apiURL } )
95
95
96
96
extendViteConfig ( ( config ) => {
97
97
config . optimizeDeps = config . optimizeDeps || { }
You can’t perform that action at this time.
0 commit comments