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

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