esvit / ng-table

Simple table with sorting and filtering on AngularJS
http://esvit.github.io/ng-table
BSD 3-Clause "New" or "Revised" License
2.77k stars 851 forks source link

fix(webpack): use generated template urls as default #988

Open lwassermann opened 7 years ago

lwassermann commented 7 years ago

When using ng-table in a webpack environment without ng-table specific html prefix rules, the default header & pager are generally not accessible as 'ng-table/header.html' and 'ng-table/pager.html' respectively. By explicitly requiring them, this problem does not appear anymore.

If you want to, you should now be able to merge inlineNgTableHtmlTemplates and inlineHtmlTemplates in /scripts/webpack/appParts.js