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
I just wrote an AMD webpack-style loader to resolve AMD modules in a fastpack build. When I report an error in the loader, it shows the parent module as the source of error:
Building FE renderer with fastpack
Project Directory: /xxx
Mode: development
Call Stack:
'./mouse' from module: node_modules/fpack-amd-loader/index.js!node_modules/jquery-ui/ui/widgets/draggable.js
'jquery-ui/ui/widgets/draggable' from module: src/main/fe/thirdparty/renderer.js
'thirdparty/renderer.js' from module: builtin!src/main/fe/renderer/index.js
'./src/main/fe/renderer/index.js' from module: $fp$main
Processing Module: node_modules/fpack-amd-loader/index.js!node_modules/jquery-ui/ui/widgets/draggable.js
Unsupports define(dependencyList, factory) call, it was called with 3 arguments:
StringLiteral, ArrayExpression, Identifier
The module causing error is node_modules/fpack-amd-loader/index.js!node_modules/jquery-ui/ui/widgets/mouse.js. Maybe it is clear when one studies the call stack in detail. But I think it would be nice to show the module in error at the top of the call stack to make it stand out and easy to copy/paste for editor or terminal click to open it.
The text was updated successfully, but these errors were encountered:
I just wrote an AMD webpack-style loader to resolve AMD modules in a fastpack build. When I report an error in the loader, it shows the parent module as the source of error:
The module causing error is
node_modules/fpack-amd-loader/index.js!node_modules/jquery-ui/ui/widgets/mouse.js
. Maybe it is clear when one studies the call stack in detail. But I think it would be nice to show the module in error at the top of the call stack to make it stand out and easy to copy/paste for editor or terminal click to open it.The text was updated successfully, but these errors were encountered: