realloc
Version:
Observable and Immutable State Manager Base On JSONPath For Javascript Applications
25 lines (22 loc) • 412 B
JavaScript
var path = require('path')
, webpack = require('webpack')
module.exports = {
watch:false,
devtool:'cheap-module-source-map',
amd:true,
context:path.join(__dirname, '.', 'js'),
entry:{
bundle:['./main']
},
output:{
path:path.join(__dirname, '.', 'js'),
filename: '[name].js'
},
module:{
loaders:[{
test: /\.(js)$/,
loader:'babel-loader'
}]
}
}