babel-plugin-s2s-action-creator-ts
plugin for https://github.com/akameco/s2s
Install
$ npm install --save-dev babel-plugin-s2s-action-creator-ts
Example
Basic
IN:
;; /***** Do not edit below this line *****/
OUT:
/***** Do not edit this file *****/;;
Usage
module.exports = {
watch: './**/*.ts',
plugins: [
{
test: /actionTypes.ts$/,
output: 'actions.ts',
plugin: 's2s-action-creator-ts',
},
],
}