Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-75339

Make npm registry servlets return source maps when requested from browser

    Details

      Description

      Currently, even if source map files are generated for JS modules, the npm registry servlets don't serve them so the browser doesn't see them.

      We should serve these files to the browser to ease debugging.

      Steps to test:

      1. Start Portal
      2. Deploy attached JAR file
      3. Request the following URL: http://localhost:8080/o/js/resolved-module/npm-portlet-a@1.0.0/js/index.es.js.map
      4. Assert that it returns some content (as opposed to returning a not found error)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                7.0.0 DXP FP37
                7.0.0 DXP SP7
                7.0.5 CE GA6
                7.0.X
                7.1.X
                Master