6.1.1 • Published 8 months ago

universal-action-creator-loader v6.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 months 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

8 months ago

6.1.1

8 months ago

0.6.0

8 months ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.1

8 years ago

0.1.0

8 years ago