1.0.1 • Published 5 years ago

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

Weekly downloads
4
License
MIT
Repository
github
Last release
5 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

5 years ago

1.0.0

5 years ago

0.4.2

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.7

6 years ago

0.3.6

7 years ago

0.3.5

7 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago