Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Dec 27, 2024
1 parent d807390 commit d612dd1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ module.exports = {
## Usage

```ts
import text from './ts.ts?raw'
import text2 from './js.js?raw'
import text3 from './jsx.jsx?raw'
import text from './ts.ts?raw'
```

## Sponsors
Expand Down
2 changes: 1 addition & 1 deletion src/core/options.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { TransformOptions } from 'esbuild'
import type { FilterPattern } from '@rollup/pluginutils'
import type { TransformOptions } from 'esbuild'

export interface Options {
/** @default 'pre' */
Expand Down
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { readFile } from 'node:fs/promises'
import path from 'node:path'
import { type UnpluginInstance, createUnplugin } from 'unplugin'
import { createFilter } from '@rollup/pluginutils'
import { type Options, resolveOptions } from './core/options'
import type { PluginContext } from 'rollup'
import { createUnplugin, type UnpluginInstance } from 'unplugin'
import { resolveOptions, type Options } from './core/options'
import type { Loader } from 'esbuild'
import type { PluginContext } from 'rollup'

const unplugin: UnpluginInstance<Options | undefined, false> = createUnplugin(
(rawOptions = {}, meta) => {
Expand Down

0 comments on commit d612dd1

Please sign in to comment.