6.1.1 • Published 2 years ago

universal-action-creator-loader v6.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

Universal Action Creator Loader

Build Status Code Coverage

A Webpack loader to strip server side code from action creators in a client build. For use with universal action creators defined using the redux-action-creator helper.

Install

yarn add universal-action-creator-loader --dev

Usage

In your client webpack build, add the loader for your action files. In this example we assume the action creators are defined in files called action.js:

module: {
  loaders: [
    {test: /actions\.js$/, loader: require.resolve('universal-action-creator-loader')}
  ]
}

Licence

MIT

6.1.0

2 years ago

6.1.1

2 years ago

0.6.0

2 years ago

0.5.1

8 years ago

0.5.0

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.1

9 years ago

0.1.0

9 years ago