mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 12:54:08 +01: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