Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-52305

Add sourcemap generation to grunt

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Component/s: Themes
    • Labels:
      None
    • Affected Branches:
      MOODLE_30_STABLE

      Description

      Following on from MDL-51582, it would be nice to add a new grunt css-dev task which doesn't run by default and generates sourcemaps.

      I tried this a few times but I couldn't get the right combination of sourceMapBasepath/sourceMapRootpath/ combos so that the sourcemap actually pointed to the correct url for the less files. My setup was moodle served on moodle.dev/pm/

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              poltawski Dan Poltawski
              Participants:
              Component watchers:
              Bas Brands
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: