Excel-Custom-Functions-JS icon indicating copy to clipboard operation
Excel-Custom-Functions-JS copied to clipboard

npm run build is not properly updating the dist folder bt: Urls

Open Tom-H2oThermo opened this issue 1 year ago • 1 comments

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • [ ] I am running the latest version of Node and the tools
  • [ ] I checked the documentation and found no answer
  • [ ] I checked to make sure that this issue has not already been filed

Expected behavior

Please describe the behavior you were expecting

Current behavior

Please provide information about the failure. What is the current behavior? If it is not a bug, please submit your idea to the Microsoft Tech Community Ideas forum, so that it gets added to our feature roadmap.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. step 1
  2. step 2
  3. you get it...

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • Operating System:
  • Node version:
  • Office version:
  • Tool version:

Failure Logs

Please include any relevant log snippets, screenshots or code samples here.

Tom-H2oThermo avatar Apr 12 '24 13:04 Tom-H2oThermo

When I run "npm run build" it takes the AppDomain from the root manifest and concatenates it with functions.js, functions.json and taskpane.html for the corresponding bt:Urls. But the problem is that it is not inserting a / between the AppDomain Url and the functions.js, functions.json and taskpane.html so the link doesn't work. I can add the / manually but this seems to be a bug. For example, the dist manifest line for the taskpane url is "https://h2othermoblob-bt-urlstaskpane.html" whereas it should be "https://h2othermoblob-bt-urls****/taskpane.html" with a slash before the taskpane.html.

Tom-H2oThermo avatar Apr 12 '24 13:04 Tom-H2oThermo