realloc
Version:
Observable and Immutable State Manager Base On JSONPath For Javascript Applications
26 lines (23 loc) • 451 B
JavaScript
var path = require('path')
, webpack = require('webpack')
module.exports = {
devtool:'cheap-module-source-map',
umd:true,
context:path.join(__dirname, '..', 'src'),
entry:{
index:['./index']
},
output:{
path:path.join(__dirname, '..', 'lib'),
filename: '[name].js',
library: 'Realloc',
libraryTarget: "umd"
},
module:{
loaders:[{
test: /\.(js)$/,
loader:'babel-loader'
}]
}
}