Skip to content

Commit

Permalink
fix #1276 - functions for plugins option
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansolid committed Feb 21, 2024
1 parent 5e10d14 commit baac98a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eight-frogs-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@solidjs/start": patch
---

fix #1276 - functions for plugins option
3 changes: 2 additions & 1 deletion packages/start/config/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { InlineConfig } from "vite";
import type { Options } from "vite-plugin-solid";


type SolidStartInlineConfig = Omit<InlineConfig, "router"> & {
type SolidStartInlineConfig = Omit<InlineConfig, "router" | "plugins"> & {
plugins?: InlineConfig['plugins'] | (() => InlineConfig['plugins']),
start?: {
/**
* true: streaming mode
Expand Down

0 comments on commit baac98a

Please sign in to comment.