mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-13 19:19:37 +02:00
fix OutputOptions type
This commit is contained in:
@@ -20,7 +20,7 @@ interface BuildOptions {
|
|||||||
|
|
||||||
export const getBuildConfig = ({ minify, core, watch }: BuildOptions): InlineConfig => {
|
export const getBuildConfig = ({ minify, core, watch }: BuildOptions): InlineConfig => {
|
||||||
const external = ['require', 'fs', 'path'];
|
const external = ['require', 'fs', 'path'];
|
||||||
let output: OutputOptions | OutputOptions[] = [
|
let output: OutputOptions = [
|
||||||
{
|
{
|
||||||
name: 'mermaid',
|
name: 'mermaid',
|
||||||
format: 'esm',
|
format: 'esm',
|
||||||
|
Reference in New Issue
Block a user