Skip to content

Commit

Permalink
fix: remove needless default
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Feb 15, 2021
1 parent 6641bfd commit 455ff1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/launcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let nuxtConfig
// Load Config
try {
const load = require('jiti')()
const config = load('__NUXT_CONFIG__').default
const config = load('__NUXT_CONFIG__')
nuxtConfig = config.default || config
} catch {
const esm = require('esm')(module, {
Expand Down

0 comments on commit 455ff1a

Please sign in to comment.