fix OutputOptions type

This commit is contained in:
Sidharth Vinod 2022-09-23 16:00:27 +05:30
parent bc0be28f08
commit 67b1e8dbe9
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD

View File

@ -20,7 +20,7 @@ interface BuildOptions {
export const getBuildConfig = ({ minify, core, watch }: BuildOptions): InlineConfig => {
const external = ['require', 'fs', 'path'];
let output: OutputOptions | OutputOptions[] = [
let output: OutputOptions = [
{
name: 'mermaid',
format: 'esm',