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