mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 15:30:03 +02:00
Vite
This commit is contained in:
@@ -2,6 +2,7 @@ import { resolve } from 'path';
|
||||
import { defineConfig } from 'vite';
|
||||
import jison from './jison';
|
||||
export default defineConfig({
|
||||
plugins: [jison()],
|
||||
resolve: {
|
||||
extensions: ['.ts', '.js', '.json', '.jison'],
|
||||
},
|
||||
@@ -13,7 +14,6 @@ export default defineConfig({
|
||||
fileName: 'mermaid',
|
||||
},
|
||||
rollupOptions: {
|
||||
plugins: [jison()],
|
||||
// make sure to externalize deps that shouldn't be bundled
|
||||
// into your library
|
||||
output: {
|
||||
|
Reference in New Issue
Block a user