shanedell commented on code in PR #1452:
URL: https://github.com/apache/daffodil-vscode/pull/1452#discussion_r2420738795


##########
vite/package.vite.config.mjs:
##########
@@ -43,35 +43,46 @@ const packageData = jsoncParse(
   fs.readFileSync(path.resolve('package.json'), 'utf8')
 )
 const pkg_version = packageData['version']
-const daffodilVersion = packageData['daffodilVersion']
-const serverPackage = `daffodil-debugger-${daffodilVersion}-${pkg_version}`
-const zipFilePath = path.resolve(
-  `debugger/target/universal/${serverPackage}.zip`
-)
+const daffodilScalaVersions = packageData['daffodilScalaVersions']
 
 function unzipAfterBuild() {
   return {
     name: 'unzip-server-package',
     apply: 'build',
     async closeBundle() {
-      const serverPackageFolder = path.join(
-        path.resolve('dist/package'),
-        serverPackage
+      Object.entries(daffodilScalaVersions).forEach(
+        async ([_, scalaVersion]) => {
+          const serverPackage = 
`daffodil-debugger-${scalaVersion}-${pkg_version}`

Review Comment:
   I think that makes sense to me. I will add an issue for that



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to