Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
barelyhuman committed Aug 7, 2023
1 parent 0881deb commit 7cfeb37
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 13 deletions.
2 changes: 1 addition & 1 deletion esbuild.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ declare function esbuildPlugin(options?: Options): {
setup(build: any): Promise<void>
}

export = esbuildPlugin
export = esbuildPlugin
8 changes: 4 additions & 4 deletions lib/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export interface Options {
rootDir: string;
baseURL: string;
atomic?: boolean;
hash?: boolean;
rootDir: string
baseURL: string
atomic?: boolean
hash?: boolean
client: {
output: string
}
Expand Down
2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@rollup/plugin-typescript": "^11.1.2",
"rollup": "^3.26.2",
"@babel/core": "^7.21.0",
"@rollup/plugin-babel":"^6.0.3",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-node-resolve": "^15.0.1",
"@babel/plugin-transform-react-jsx": "^7.21.0",
"tslib": "^2.6.0",
Expand Down
20 changes: 13 additions & 7 deletions rollup.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@ export type { Options } from './lib/types'
* @returns
*/
declare function rollupPlugin(options?: Options): {
name: string;
transform(_: any, id: any): Promise<{
code: any;
map: null;
} | undefined>;
};
name: string
transform(
_: any,
id: any
): Promise<
| {
code: any
map: null
}
| undefined
>
}

export = rollupPlugin
export = rollupPlugin

0 comments on commit 7cfeb37

Please sign in to comment.