Make sure we actually build netlify-cms as library (#169)

* Build netlify-cms as a library

* Bump version
This commit is contained in:
Mathias Biilmann
2016-11-23 13:37:51 -08:00
committed by Cássio Souza
parent 60570dbecb
commit fa03ce29bf
3 changed files with 7 additions and 1 deletions

View File

@ -11,6 +11,9 @@ module.exports = merge.smart(require('./webpack.base.js'), {
output: {
path: path.join(__dirname, 'dist'),
filename: '[name].js',
library: 'netlify-cms',
libraryTarget: 'umd',
umdNamedDefine: true,
},
module: {
loaders: [