mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-15 05:19:58 +02:00
Update webpack config
This commit is contained in:
@@ -14,11 +14,7 @@ const jsRule = {
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
presets: [
|
||||
['env', {
|
||||
'targets': {
|
||||
'browsers': ['last 3 versions']
|
||||
}
|
||||
}]
|
||||
'env'
|
||||
],
|
||||
plugins: ['lodash']
|
||||
}
|
||||
@@ -52,6 +48,7 @@ export const jsConfig = () => {
|
||||
},
|
||||
module: {
|
||||
rules: [lodashRule, jsRule, lessRule]
|
||||
}
|
||||
},
|
||||
devtool: 'source-map'
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user