Skip to content

Commit

Permalink
Revert "Pass through ResolveTypes from Webpack (#93)" (#94)
Browse files Browse the repository at this point in the history
This reverts commit dc3dd37.
  • Loading branch information
jonaskello authored Jul 29, 2022
1 parent dc3dd37 commit 96b1ed2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/options.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
import { ResolveOptions } from "webpack";

export type LogLevel = "INFO" | "WARN" | "ERROR";

export interface Options {
readonly configFile: string;
readonly extensions: ResolveOptions["extensions"];
readonly extensions: ReadonlyArray<string>;
readonly baseUrl: string | undefined;
readonly silent: boolean;
readonly logLevel: LogLevel;
readonly logInfoToStdOut: boolean;
readonly context: string | undefined;
readonly colors: boolean;
readonly mainFields: ResolveOptions["mainFields"];
readonly mainFields: string[];
}

type ValidOptions = keyof Options;
Expand Down

0 comments on commit 96b1ed2

Please sign in to comment.