我在 app.json 中添加了我的外部库:
"js": [
{
"path": "app.js",
"bundle": true
},
{
"path": "https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js",
"remote": true
},
{
"path": "https://rawgit.com/darron1217/enjoyhint.js/master/dist/enjoyhint.js",
"remote": true
}
],
当我使用sencha app watch
一切正常时,但是当我在生产中构建我的项目时,我在浏览器中出现错误:Uncaught ReferenceError: EnjoyHint is not defined
.