Error: multipleDefine when deploying a custom widget to production using a deployment package

0
i created a custom widget using the new yeomen generator and it worked correctly on my pc but when i deploy my project to production using a deployment package i get a javascript error as multipleDefine error as the image below : i added the mixitup library in the define array and passed it to the callback function as the following : define([ "dojo/_base/declare", "mxui/widget/_WidgetBase", "dijit/_TemplatedMixin", "mxui/dom", "dojo/dom", "dojo/dom-prop", "dojo/dom-geometry", "dojo/dom-class", "dojo/dom-style", "dojo/dom-construct", "dojo/_base/array", "dojo/_base/lang", "dojo/text", "dojo/html", "dojo/_base/event", "ServicesMenu/lib/jquery-1.11.2", "ServicesMenu/lib/mixitup.min", "dojo/text!ServicesMenu/widget/template/ServicesMenu.html" ], function (declare, _WidgetBase, _TemplatedMixin, dom, dojoDom, dojoProp, dojoGeometry, dojoClass, dojoStyle, dojoConstruct, dojoArray, lang, dojoText, dojoHtml, dojoEvent, _jQuery, mixitup,widgetTemplate) { // widget code }   what is the problem
asked
0 answers