You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should remove the synchronous path from the less-loader. It makes the code a lot harder to understand and impairs contribution. enhanced-require is now unmaintained for 2 years and @sokra is recommending to use target: "node" in order to prepare your bundle for the server-side.
Additionally synchronous compilation is really inefficient and may slow down the application bootstrap significantly.
I've added a deprecation warning to the code so people have the chance to give us feedback. Maybe there's a use-case we haven't seen yet.
The text was updated successfully, but these errors were encountered:
This commit only takes the minimal actions that are required to update to webpack 2. The tests (and probably the loader itself) require more refactoring, but there's currently little time for that.
Also removed the synchronous compilation since it has been deprecated for a while: #84
We should remove the synchronous path from the less-loader. It makes the code a lot harder to understand and impairs contribution. enhanced-require is now unmaintained for 2 years and @sokra is recommending to use
target: "node"
in order to prepare your bundle for the server-side.Additionally synchronous compilation is really inefficient and may slow down the application bootstrap significantly.
I've added a deprecation warning to the code so people have the chance to give us feedback. Maybe there's a use-case we haven't seen yet.
The text was updated successfully, but these errors were encountered: