Add browser build

This commit is contained in:
Jakub Juszczak
2017-03-17 15:41:58 +01:00
parent 6913312be9
commit e2a8f3ca3c
3 changed files with 23 additions and 3 deletions

View File

@@ -12,7 +12,8 @@ module.exports = {
output: {
filename: './dist/[name].js',
library: 'VueChartJs',
libraryTarget: 'umd'
libraryTarget: 'umd',
umdNamedDefine: true
},
module: {
preLoaders: [