mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 07:19:41 +02:00
Get rid of babel-preset-es2015
This commit is contained in:
11
webpack.config.babel.js
Normal file
11
webpack.config.babel.js
Normal file
@@ -0,0 +1,11 @@
|
||||
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]
|
Reference in New Issue
Block a user