Bitbucket-client-side-extensions-template broken on PR overview page

XMLWordPrintable

    • Severity 3 - Minor
    • CtB - Improve Existing

      Issue Summary

      Bitbucket CSE template is broken on PR overview page. Tested on Bitbucket v9.4

      Repo: https://bitbucket.org/atlassianlabs/bitbucket-client-side-extensions-template/src/master/

      Reported: https://community.developer.atlassian.com/t/bitbucket-client-side-extensions-template-broken-on-pr-overview-page/94675/2

      Steps to Reproduce

      1. Clone and build `mvn clean install -DskipTests`
      2. Upload the app to Bitbucket
      3. Go to PR overview page

      Expected Results

      The sample extensions should appear on PR overview page

      Actual Results

      No extensions are being shown

      Workaround

      Add below to webpack config `plugins`

      ```
      new webpack.DefinePlugin(

      { 'module.hot':'false', }

      ),
      ```

      For example

      ```
      plugins: [
      ...plugins(!isProduction),
      clientsideExtensions,
      newwebpack.DefinePlugin(

      { 'module.hot':'false', }

      ),
      ],
      ```

              Assignee:
              Navpreet Ahuja
              Reporter:
              Navpreet Ahuja
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: