Skip to content

Commit

Permalink
style: apply lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Nov 22, 2023
1 parent 93b07e5 commit 589d160
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/loader.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { LoaderName, resolveLoaders } from "./loaders";

import type { CommonOptions } from "esbuild";
import type { AcceptedPlugin as PostcssPlugin } from "postcss";
import type { Options as PostcssNestedOptions } from "postcss-nested";
import type { Options as AutoprefixerOptions } from "autoprefixer";
import type { Options as CssnanoOptions } from "cssnano";
import { LoaderName, resolveLoaders } from "./loaders";

export interface InputFile {
path: string;
Expand Down Expand Up @@ -38,13 +37,13 @@ export interface LoaderOptions {
declaration?: boolean;
esbuild?: CommonOptions;
postcss?:
| false
| {
nested?: false | PostcssNestedOptions;
autoprefixer?: false | AutoprefixerOptions;
cssnano?: false | CssnanoOptions;
plugins?: PostcssPlugin[];
};
| false
| {
nested?: false | PostcssNestedOptions;
autoprefixer?: false | AutoprefixerOptions;
cssnano?: false | CssnanoOptions;
plugins?: PostcssPlugin[];
};
}

export interface LoaderContext {
Expand Down

0 comments on commit 589d160

Please sign in to comment.