Sha256: a78ae4032220855d9a23f2418a14baef05ec170082342523fe8fcbef2955ffce

Contents?: true

Size: 629 Bytes

Versions: 3

Compression:

Stored size: 629 Bytes

Contents

/* eslint import/no-unresolved: [2, { ignore: [foremanReact/*] }] */
/* eslint-disable import/no-extraneous-dependencies */
/* eslint-disable import/extensions */
import componentRegistry from 'foremanReact/components/componentRegistry';
import { registerReducer } from 'foremanReact/common/MountingService';
import reducers from './src/reducers';
import ForemanPuppet from './src/ForemanPuppet';

// register reducers
Object.entries(reducers).forEach(([key, reducer]) =>
  registerReducer(key, reducer)
);

// register components for erb mounting
componentRegistry.register({
  name: 'ForemanPuppet',
  type: ForemanPuppet,
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foreman_puppet-0.1.0 webpack/index.js
foreman_puppet-0.0.2 webpack/index.js
foreman_puppet-0.0.1 webpack/index.js