UNPKG

necto

Version:

Necto compliments Redux by providing a composable, declarative api to create flows through redux (Action -> Reducer or Action -> Saga). The intent of Necto is to reduce boilerplate, simplify and standardize action creators, and group action logic so that

25 lines (23 loc) 489 B
const path = require('path'); const pkg = require('./package.json'); const libraryName = pkg.name; module.exports = { entry: './index.js', output: { filename: 'main.js', path: path.resolve(__dirname, 'dist'), library: libraryName, libraryTarget: 'umd', publicPath: '/dist/', umdNamedDefine: true, }, module: { rules: [ { test: /\.m?js$/, exclude: /(node_modules)/, use: { loader: 'babel-loader' }, }, ], }, };