Critical Dependency error from outdated koa-compose
amaschas opened this issue · comments
koa-router
version: 7.4.0
The version of koa-compose
(3.0.0) generated the following error in Webpack:
Critical dependency: the request of a dependency is an expression
The current version of koa-compose
(4.0.1 as of writing this) eliminated a downstream dependency on the any-promise
package which was generating this error. I suggest we upgrade our koa-compose
version to the latest if possible to eliminate this error.
🎉 v8.0.4 of @koa/router
has been released to npm
npm i @koa/router@latest
or yarn add @koa/router@latest
Thank you for reporting the issue!