Drop support for static models configuration
orditeck opened this issue · comments
Keven L. commented
When importing schwifty in webpack, I get the following warning:
WARNING in ./node_modules/Schwifty/lib/index.js 94:28-50
Critical dependency: the request of a dependency is an expression
WARNING in ./node_modules/Schwifty/lib/index.js 98:28-76
Critical dependency: the request of a dependency is an expression
See webpack/webpack#196. There are some ways to get rid of these warnings in webpack, but it would be even better to avoid them in the first place.
devin ivy commented
I plan to drop support for static models
config, as seen here:
Lines 239 to 273 in de2f5ad
For me the reason is less due to webpack warnings, although I'm glad it will help clear that up too. The feature is very old, going back to usage with dogwater and pre-haute-couture. I don't think it's very useful nowadays, but if anyone objects I would be happy to chat more about it here.