Skip to content

Commit

Permalink
fix: ensure aliases init when using Rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
qmhc committed Jul 7, 2023
1 parent 8663756 commit 22c69a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugin.ts
Expand Up @@ -211,6 +211,7 @@ export function dtsPlugin(options: PluginOptions = {}): import('vite').Plugin {
}

logger = logger || console
aliases = aliases || []
libName = '_default'
indexName = defaultIndex

Expand Down

0 comments on commit 22c69a4

Please sign in to comment.