@pipeci/pci-react-config
v0.0.1
Published
Simple configuration support for create react app style projects.
Downloads
3
Readme
PipeCI React Config
Simple configuration support for create react app style projects.
Usage
import React from 'react';
import { render } from 'react-dom';
import { setupConfig } from 'pci-react-config';
import { development } from './config/development';
import { production } from './config/production';
import { staging } from './config/staging';
setupConfig({
development,
production,
staging
});
import { App } from './components/App/App';
import { unregister } from './registerServiceWorker';
import 'bootstrap/dist/css/bootstrap.css';
import './index.css';
render(<App />, document.getElementById('root'));
unregister();