Skip to content

Commit

Permalink
Try to trigger some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoattal committed Dec 10, 2024
1 parent 53ab1e1 commit 10fbc65
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import type { ServerRunPayload, ServerStory, ServerVariant } from '@histoire/sha
import type { StoryOptions, VariantOptions } from './types'

export async function run({ file, storyData }: ServerRunPayload) {
if (file.moduleId.toLowerCase().includes('tailwind')) {
return
}

const { default: Comp } = await import(/* @vite-ignore */ file.moduleId)

const options = Comp as StoryOptions
Expand Down

0 comments on commit 10fbc65

Please sign in to comment.