Minor change to webpack config

This commit is contained in:
Tyler Long
2017-09-03 09:20:39 +08:00
parent 2565b47637
commit ceb8430f9b
2 changed files with 2 additions and 1 deletions

View File

@@ -9,3 +9,4 @@
- webpack warning: lodash too big - webpack warning: lodash too big
- add coveralls - add coveralls
- git graph requires a blank line at the end. why? - git graph requires a blank line at the end. why?
- Move cli to mermaid-cli project ?

View File

@@ -17,7 +17,7 @@ export const webConfig = () => {
entry: { entry: {
mermaid: './src/mermaid.js' mermaid: './src/mermaid.js'
}, },
externals: 'fs', externals: ['fs'],
output: { output: {
path: path.join(__dirname, './dist/'), path: path.join(__dirname, './dist/'),
filename: '[name].js' filename: '[name].js'