mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-31 06:06:44 +02:00
webpack fs: 'empty'
This commit is contained in:
@@ -16,6 +16,9 @@ export const jsConfig = () => {
|
||||
entry: {
|
||||
mermaid: './src/mermaid.js'
|
||||
},
|
||||
node: {
|
||||
fs: 'empty' // jison generated code requires 'fs'
|
||||
},
|
||||
output: {
|
||||
path: path.join(__dirname, './dist/'),
|
||||
filename: '[name].js',
|
||||
|
Reference in New Issue
Block a user