Files
js-openstack-lib/webpack.config.babel.js
Vitaly Kramskikh 2120a13542 Added Webpack integration
This commit allows to create js-openstack-lib build which can be
used in browsers. Webpack library is used to create the build.

Change-Id: I382244c9399cee83720858d0bb2768e9ce3b7c9a
2016-07-14 15:59:01 +03:00

19 lines
312 B
JavaScript

export default {
entry: ['./src/index.js'],
output: {
path: './dist',
filename: 'js-openstack-lib.js',
library: 'JSOpenStackLib',
libraryTarget: 'umd'
},
module: {
loaders: [
{
test: /\.js$/,
loader: 'babel',
exclude: /node_modules/
}
]
}
};