mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
14 lines
361 B
JavaScript
14 lines
361 B
JavaScript
|
import { webConfig, nodeConfig } from './webpack.config.base.js'
|
||
|
|
||
|
const config1 = webConfig()
|
||
|
config1.output.filename = '[name].min.js'
|
||
|
|
||
|
const config2 = webConfig()
|
||
|
config2.externals = ['fs', 'd3']
|
||
|
config2.output.filename = '[name].slim.min.js'
|
||
|
|
||
|
const config3 = nodeConfig()
|
||
|
config3.output.filename = '[name].min.js'
|
||
|
|
||
|
export default [config1, config2, config3]
|