Skip to content

Commit

Permalink
fix(typings): remove esbuild and entryPoint properties per recent cha…
Browse files Browse the repository at this point in the history
…nge (#3181)

* fix(typings): remove esbuild and entryPoint properties per recent change

#2931

* changeset

Co-authored-by: Rich Harris <hello@rich-harris.dev>
  • Loading branch information
nstuyvesant and Rich-Harris authored Jan 2, 2022
1 parent 784af5b commit 8fba147
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/tame-needles-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/adapter-node': patch
---

Fix types
3 changes: 0 additions & 3 deletions packages/adapter-node/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
import { Adapter } from '@sveltejs/kit';
import { BuildOptions } from 'esbuild';

interface AdapterOptions {
entryPoint?: string;
out?: string;
precompress?: boolean;
env?: {
path?: string;
host?: string;
port?: string;
};
esbuild?: (options: BuildOptions) => Promise<BuildOptions> | BuildOptions;
}

declare function plugin(options?: AdapterOptions): Adapter;
Expand Down

0 comments on commit 8fba147

Please sign in to comment.