admin管理员组文章数量:1125025
My Excel addin webpack.config.js file line const urlProd has a comment // TODO: CHANGE THIS TO YOUR PRODUCTION DEPLOYMENT LOCATION. I'm not sure if this should point to my taskpane.html on my blob storage or something else.
I've created an Excel add-in that is fully functional. Now I want to have in in production mode and published to AppSource. I've placed the relevant files (fallbackauthdialog.html, functions.js, functions.json and taskpane.html) on my Azure blob storage, updated to use my custom domain, in locations like "/$web/taskpane.html" and updated my apps manifest accordingly and verified that the links all work. When I open a terminal in my apps folder and run npm run build and npm start, my add in functions properly. But webpack.config.js still has const urlDev = "https://localhost:3000/" and below that it has const urlProd = ";; // CHANGE THIS TO YOUR PRODUCTION DEPLOYMENT LOCATION.
Should my urlProd be "/$web"?
Should I comment out any references to localhost?
本文标签: office jsWhat should my webpackconfigjs production deployment location beStack Overflow
版权声明:本文标题:office js - What should my webpack.config.js production deployment location be - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736627643a1945708.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论