mirror of
https://github.com/mermaid-js/mermaid.git
synced 2024-09-04 16:41:06 +02:00
14 lines
342 B
JavaScript
14 lines
342 B
JavaScript
import { webConfig, nodeConfig, lessConfig } from './webpack.config.base.js'
|
|
|
|
const config = webConfig()
|
|
|
|
const slimConfig = webConfig()
|
|
slimConfig.externals = ['fs', 'd3']
|
|
slimConfig.output.filename = '[name].slim.js'
|
|
|
|
const apiConfig = nodeConfig()
|
|
|
|
const cssConfig = lessConfig()
|
|
|
|
export default [config, slimConfig, apiConfig, cssConfig]
|