Skip to content

Commit

Permalink
chore(demo-app): demo workaround to webpack issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrowhurstram committed Dec 4, 2016
1 parent d8a7919 commit 317475e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion index.ts
Expand Up @@ -5,5 +5,16 @@ import { ngTableBrowserModule } from './src/browser';
const ngTableModule = ng1.module('ngTable', [ngTableCoreModule.name, ngTableBrowserModule.name]);

export { ngTableModule };
export * from './src/core';
export { IDefaults } from './src/core/ngTableDefaults';
export * from './src/core/ngTableEventsChannel';
// note: having to export as individual modules rather than `*` to avoid webpack (bug?)
// causing the final bundle to throw an error `Cannot redefine property: NgTableParams`
// todo: replace with commented out export below once webpack produces a working bundle
export { InternalTableParams, NgTableParams, IParamValues } from './src/core/ngTableParams';
// export * from './src/core/ngTableParams';
export * from './src/core/data';
export * from './src/core/filtering';
export * from './src/core/grouping/publicExports';
export * from './src/core/paging';
export * from './src/core/sorting';
export * from './src/browser';

0 comments on commit 317475e

Please sign in to comment.