UNPKG

redux-offline-chain

Version:
26 lines (24 loc) 518 B
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, }, }), ], }