Closed erik4github closed 4 years ago
Hi @erik4github Thanks for reporting this issue. Yes, we should make it a dependency. Will do that as soon as I get some time.
Hi @erik4github What's the window-table version you tried? Because I just noticed that we are no longer using lodash-es.
Thanks
Just published v0.10.3 with @types/lodash-es
replaced with @types/lodash
. That may have been the issue for you. Please let us know if 0.10.3 fixes the issue for you. Thanks.
Just found the issue. Tsdx is transforming lodash usages to lodash-es usages, obviously, for reducing the bundle size. I just added lodash-es to fix that problem. Please install v0.10.4
Ref: https://github.com/jaredpalmer/tsdx#using-lodash
Cheers
If using
npm install window-table --save
, the lodash dependencies aren't installed with. So when usingwebpack-dev-server
to build, you'll run into:If I install the
lodash-es
libraries, project builds fine.Not sure if it's more appropriate to mark them as dependencies rather than peer dependencies, or just make a note in the documentation when installing via npm.