Skip to content

Commit

Permalink
chore: typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyinws committed Sep 19, 2024
1 parent e327aad commit 299a781
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/options.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { env } from 'node:process'
import type { Options } from '../types'

const DETAULT_OPTIONS: Options = {
const DEFAULT_OPTIONS: Options = {
prefix: '',
suffix: '',
disableLaunchEditor: false,
Expand All @@ -23,13 +23,13 @@ export function resolveOptions(options: Options): Options {
// merge babel parser plugins
if (options.babelParserPlugins) {
options.babelParserPlugins = [
...DETAULT_OPTIONS.babelParserPlugins!,
...DEFAULT_OPTIONS.babelParserPlugins!,
...options.babelParserPlugins,
]
}

let resolved = {
...DETAULT_OPTIONS,
...DEFAULT_OPTIONS,
...options,
}

Expand Down

0 comments on commit 299a781

Please sign in to comment.