Skip to content

Commit

Permalink
fix(title): change default title to Rollup (#143)
Browse files Browse the repository at this point in the history
* fix(title): change default title to Rollup

This is how it's styled in the repo of Rollup itself (and already in the readme)

source: https://github.com/rollup/rollup

* Update index.ts
  • Loading branch information
Haroenv authored Dec 21, 2022
1 parent 03a46f7 commit c871e71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const argv = yargs(hideBin(process.argv))
.option("title", {
describe: "Output file title",
type: "string",
default: "RollUp Visualizer",
default: "Rollup Visualizer",
})
.option("template", {
describe: "Template type",
Expand Down
2 changes: 1 addition & 1 deletion plugin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const visualizer = (
if (opts.json) opts.template = "raw-data";
}
const filename = opts.filename ?? chooseDefaultFileName(opts);
const title = opts.title ?? "RollUp Visualizer";
const title = opts.title ?? "Rollup Visualizer";

const open = !!opts.open;
const openOptions = opts.openOptions ?? {};
Expand Down

0 comments on commit c871e71

Please sign in to comment.