Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack warning on lazy-cache #60

Closed
elaijuh opened this issue Dec 28, 2017 · 3 comments
Closed

webpack warning on lazy-cache #60

elaijuh opened this issue Dec 28, 2017 · 3 comments

Comments

@elaijuh
Copy link

@elaijuh elaijuh commented Dec 28, 2017

Steps to reproduce

i am using it with angular 5, when webpack compiling the source code, it shows errors

Actual behavior

WARNING in ./node_modules/shallow-clone/utils.js
3:34-41 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

the lazy-loader webpack loader might solve this problem, but it's worthy to mention this flaw in read me

@daffl

This comment has been minimized.

Copy link
Member

@daffl daffl commented Dec 28, 2017

Do you know what it expects for the require? Does it work when including dist/feathers-localstorage instead?

@elaijuh

This comment has been minimized.

Copy link
Author

@elaijuh elaijuh commented Dec 28, 2017

I haven't looked deep into it yet

@daffl

This comment has been minimized.

Copy link
Member

@daffl daffl commented Mar 7, 2018

I think this should be fixed with the Webpack 4 build or the distirbutable.

@daffl daffl closed this Mar 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.