Please help me upgrade to Webpack 5 and Atlassian WRM 5.2.9

Open
#1 · Created  · Last updated

Description

I’ve tried upgrading the devDependencies in package.json, it compiles and runs, but Confluence doesn’t load the file anymore.

Can anyone help me?

  • On master, if you run yarn watch, and reload the page, it will load webpanel.js successfully (write an ‘alert()’ to verify it), and it will even hot-reload them when you modify the files!

  • On that branch, if you run yarn watch, the alert() won’t display at all.

Prerequisites: mvn amps:debug to run Confluence, and yarn install to download the JS packages. Don’t forget to delete package-lock.json, yarn.lock and node_modules if you want to retry with a fresh install.

 

0 attachments

0 comments

Loading commits...