Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-20162

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

XMLWordPrintable

      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', }

      ),
      ],
      ```

              91f2c0a8617b Navpreet Ahuja
              91f2c0a8617b Navpreet Ahuja
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: