1.0.1 • Published 6 years ago

babel-plugin-s2s-action-root v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

babel-plugin-s2s-action-root

compose action types

Install

$ npm install --save-dev babel-plugin-s2s-action-root

Example

IN:

OUT:

// @flow
import type { Action as AppAction } from "../app/actionTypes";
import type { Action as BobAction } from "../bob/actionTypes";

export type Action = AppAction | BobAction;

Usage

{
  ['s2s-action-root', {
    input: 'containers/**/actionTypes.js',
    output: 'types/action.js',
    globOptions: {}
  }]
}

input

type: string required: true

glob pattern.

output

type: string required: true

outputh path.

blobOptions

See https://github.com/isaacs/node-glob#options

1.0.1

6 years ago

1.0.0

6 years ago

0.4.2

7 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.7

8 years ago

0.3.6

8 years ago

0.3.5

8 years ago

0.3.4

8 years ago

0.3.3

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago