mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Update webpack.config.base.js
This commit is contained in:
parent
8b267ba947
commit
525e342f9b
@ -43,9 +43,11 @@ export const jsConfig = () => {
|
||||
resolve: {
|
||||
extensions: ['.wasm', '.mjs', '.js', '.json', '.jison']
|
||||
},
|
||||
node: {
|
||||
fs: 'empty' // jison generated code requires 'fs'
|
||||
},
|
||||
resolve: {
|
||||
fallback: {
|
||||
fs: false // jison generated code requires 'fs'
|
||||
}
|
||||
},
|
||||
output: {
|
||||
path: path.join(__dirname, './dist/'),
|
||||
filename: '[name].js',
|
||||
|
Loading…
x
Reference in New Issue
Block a user