Hi everyone,
I have some widgets in my project. In one widget's module, I require modules from another widget.
For example, from widgetB module, i used jquery and a plugin from another widgetA like this:
define(["require", "exports", "widgetAName/widget/lib/jqueryDefinitionWidget", "widgetAName/widget/lib/jquery.fancytree-all.min", ...) {"use strict";
...
So,
1. If i click "Check widgets", it said the WidgetB has error.
2. However, I look at "build_webui_bundle_log.txt", there is no error.
3. Then I deployed to acceptance enviroment, and everything works fine.
4. If I remove ""widgetAName/widget/lib/jqueryDefinitionWidget", "widgetAName/widget/lib/jquery.fancytree-all.min", there's no error in "Check widgets", however, I really want to reused those libraries.
Is there anyone experience the same errors?
or do you have solution for my problem? Is there anyway to refer to another widget's module without causes errors in the check.
Best regards,