visjs/ngx-vis

Improve build

hypery2k opened this issue · 1 comments

Is your feature request related to a problem? Please describe.

  • Current build with webpack is not really good
  • demo app is using absolute paths, should be work locally for testing

Describe the solution you'd like

  • For packaging ng-packagr
  • Refactor webpack for local usage

Describe alternatives you've considered

Additional context

ng-packagr currently runs into AOT issues:

./node_modules/.bin/ng-packagr -p package.json -c tsconfig.json
Building Angular Package

------------------------------------------------------------------------------
Building entry point 'ngx-vis'
------------------------------------------------------------------------------
Compiling TypeScript sources through ngc
ERROR: Maximum call stack size exceeded