mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08: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]
|