Skip to content

Commit

Permalink
adjusted the export approach for the main module for #6
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed May 25, 2016
1 parent edf89a6 commit 6f015a5
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions src/main.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
export {default as createIndex} from './index';
export {default as createPrimaryNav} from './theme/nav/primary-nav';
export {default as createWrap} from './theme/wrap/wrap';
export {default as createNotFound} from './errors/not-found';
export {default as createServerError} from './errors/server-error';
export {default as createResourceList} from './resources/list/list';
export {default as createMaybeList} from './resources/list/maybe-list';
export {default as createResource} from './resources/individual/resource';
export {default as createUser} from './resources/individual/users/user';
import createIndex from './index';
import createPrimaryNav from './theme/nav/primary-nav';
import createWrap from './theme/wrap/wrap';
import createNotFound from './errors/not-found';
import createServerError from './errors/server-error';
import createResourceList from './resources/list/list';
import createMaybeList from './resources/list/maybe-list';
import createResource from './resources/individual/resource';
import createUser from './resources/individual/users/user';

export {
createIndex,
createPrimaryNav,
createWrap,
createNotFound,
createServerError,
createResourceList,
createMaybeList,
createResource,
createUser
}

0 comments on commit 6f015a5

Please sign in to comment.