mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
14 lines
338 B
JavaScript
14 lines
338 B
JavaScript
import nodeExternals from 'webpack-node-externals'
|
|
|
|
import { jsConfig, lessConfig } from './webpack.config.base'
|
|
|
|
const config = jsConfig()
|
|
|
|
const coreConfig = jsConfig()
|
|
coreConfig.externals = [nodeExternals()]
|
|
coreConfig.output.filename = '[name].core.js'
|
|
|
|
const cssConfig = lessConfig()
|
|
|
|
export default [config, coreConfig, cssConfig]
|