Skip to content
This repository has been archived by the owner on Jan 18, 2019. It is now read-only.

beta 0.6.0

Latest
Compare
Choose a tag to compare
@jsnoble jsnoble released this 08 Jan 17:57
· 15 commits to master since this release
6fc1cb5

can now work with plugins;
opConfig changes:

  • rules_file && asset_name => rules: ['assetName:path']
  • plugins: ['assetName:path']
  • selector_config => types
  • removed actions, connection and index fields
    Example:
        {
            type: 'transform',
            rules: ['some/path', 'other/path')],
            plugins: ['path/to/plugin']
            types: { _created: 'date' }
        };

Example Plugin:

import NoOp from './noop';
import Double from './double';

export default class Plugin {
    init() {
        return {
            noop: NoOp,
            double: Double
        };
    }
}