Skip to content

Commit

Permalink
chore: release v0.10.6
Browse files Browse the repository at this point in the history
  • Loading branch information
nonzzz committed Aug 22, 2024
1 parent 6dd6edc commit d932d50
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 0.10.6

- Make default options happy.


### credits

@a145789


## 0.10.5

- Reduce debug info package size.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite-bundle-analyzer",
"version": "0.10.5",
"version": "0.10.6",
"description": "a vite bundle analyzer",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion src/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function validateChunk(chunk: OutputAsset | OutputChunk, allChunks: OutputBundle
return [isChunk, isChunk ? chunk.sourcemapFileName : null]
}

function analyzer(opts: AnalyzerPluginOptions): Plugin {
function analyzer(opts?: AnalyzerPluginOptions): Plugin {
opts = opts ? { ...defaultOptions, ...opts } : defaultOptions

const { reportTitle = 'vite-bundle-analyzer' } = opts
Expand Down

0 comments on commit d932d50

Please sign in to comment.