redux-offline-chain
Version:
chain as many offline actions as you like
26 lines (24 loc) • 518 B
JavaScript
const path = require('path')
const webpack = require('webpack')
module.exports = {
entry: ['./src/index'],
module: {
loaders: [
{ test: /\.js$/, loaders: ['babel-loader'], exclude: /node_modules/ },
],
},
output: {
filename: 'index.js',
library: 'ReduxOfflineChain',
libraryTarget: 'umd',
path: path.join(__dirname, 'dist'),
},
plugins: [
new webpack.optimize.UglifyJsPlugin({
compressor: {
screw_ie8: true,
warnings: false,
},
}),
],
}