Skip to content

Commit

Permalink
chore: do not change nuxt devtools config (#517)
Browse files Browse the repository at this point in the history
Co-authored-by: Chakir QATAB <[email protected]>
  • Loading branch information
tobiasdiez and chakAs3 authored Apr 9, 2024
1 parent b7b6e64 commit da64531
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/storybook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ export async function setupStorybook(options: any, nuxt: Nuxt) {
config.optimizeDeps ??= {}
config.optimizeDeps.include = config.optimizeDeps.include || []

nuxt.options.devtools = { enabled: true}

config.server ??= {}
config.server.proxy ??= {}

Expand Down Expand Up @@ -102,8 +100,7 @@ export async function setupStorybook(options: any, nuxt: Nuxt) {
logger.info(' ')
logger.info('✔ Storybook build done ')
logger.info(' ')
nuxt.options.devtools = {enabled:true}
import.meta.env.__STORYBOOK__ = JSON.stringify( options )
process.env.__STORYBOOK__ = JSON.stringify( options )
})

logger.info('🔗 STORYBOOK_URL :', STORYBOOK_URL)
Expand Down

0 comments on commit da64531

Please sign in to comment.