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

Add sourcemap generation to grunt

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0
    • None
    • Themes
    • None
    • 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

              Unassigned Unassigned
              poltawski Dan Poltawski
              Huong Nguyen, Bas Brands, Mathew May
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: