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

@ -20,6 +20,9 @@ module.exports = merge.smart(require('./webpack.base.js'), {
path: path.join(__dirname, 'dist'),
filename: '[name].js',
publicPath: `http://${ HOST }:${ PORT }/`,
library: 'netlify-cms',
libraryTarget: 'umd',
umdNamedDefine: true,
},
context: path.join(__dirname, 'src'),
module: {