Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/sxzz/unplugin-glob. Imports or exports files using glob match for ES Module.
Something went wrong. Try again.
12345678910111213141516import type { FilterPattern } from 'unplugin'
export interface Options { include?: FilterPattern exclude?: FilterPattern | undefined}
export type OptionsResolved = Required<Options>
export function resolveOption(options: Options): OptionsResolved { return { include: options.include || [/\.[cm]?[jt]sx?$/], exclude: options.exclude || [/node_modules/], }}