From c871e7140c204d9eb72531259edfb434fa26c655 Mon Sep 17 00:00:00 2001 From: Haroen Viaene Date: Wed, 21 Dec 2022 12:06:45 +0100 Subject: [PATCH] fix(title): change default title to Rollup (#143) * 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 --- bin/cli.ts | 2 +- plugin/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/cli.ts b/bin/cli.ts index a42059e..1c15ccc 100644 --- a/bin/cli.ts +++ b/bin/cli.ts @@ -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", diff --git a/plugin/index.ts b/plugin/index.ts index b2d6acd..a726a8b 100644 --- a/plugin/index.ts +++ b/plugin/index.ts @@ -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 ?? {};