mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 04:44:08 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			283 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			283 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import nodeExternals from 'webpack-node-externals'
 | 
						|
 | 
						|
import { jsConfig } from './webpack.config.base'
 | 
						|
 | 
						|
const config = jsConfig()
 | 
						|
 | 
						|
const coreConfig = jsConfig()
 | 
						|
coreConfig.externals = [nodeExternals()]
 | 
						|
coreConfig.output.filename = '[name].core.js'
 | 
						|
 | 
						|
export default [config, coreConfig]
 |