mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-23 17:29:54 +02:00
Typescript
This commit is contained in:
@@ -11,9 +11,10 @@ const buildOptions = (override = {}) => {
|
||||
keepNames: true,
|
||||
globalName: 'mermaid',
|
||||
platform: 'browser',
|
||||
resolveExtensions: ['.js', '.json', '.jison'],
|
||||
tsconfig: 'tsconfig.json',
|
||||
resolveExtensions: ['.ts', '.js', '.json', '.jison'],
|
||||
external: ['require', 'fs', 'path'],
|
||||
entryPoints: ['src/mermaid.js'],
|
||||
entryPoints: ['src/mermaid.ts'],
|
||||
outfile: 'dist/mermaid.min.js',
|
||||
plugins: [jisonPlugin],
|
||||
sourcemap: 'external',
|
||||
|
Reference in New Issue
Block a user