Skip to content

Commit

Permalink
feat: expose default options
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Mar 7, 2023
1 parent 7368185 commit 47b4aed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import {
routeBlockQueryRE,
ROUTE_BLOCK_ID,
} from './core/moduleConstants'
import { Options, resolveOptions } from './options'
import { Options, resolveOptions, DEFAULT_OPTIONS } from './options'
import { createViteContext } from './core/vite'
import { createFilter } from '@rollup/pluginutils'
import { join } from 'pathe'

export { Options }
export { Options, DEFAULT_OPTIONS }

export default createUnplugin<Options | undefined>((opt = {}, meta) => {
const options = resolveOptions(opt)
Expand Down

0 comments on commit 47b4aed

Please sign in to comment.