Skip to content

Using Vite (V5) requires plugin opts. #6

Open
@TylerAtCodeOfLife

Description

import { defineConfig } from 'vite'
import pattycake from 'pattycake'

// typescript wants pattycake.vite(options)
export default defineConfig({
plugins:[ pattycake.vite() ]
})
// the options type HirCodegenOpts just has a bool for chaining so i fixed it as such
export default defineConfig({
plugins:[ pattycake.vite({disableOptionalChaining: true}) ]
})

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions