Resources Plugin
  1. Resources Plugin
  2. GPRESOURCES-74

Make it so auto-bundling can occur for other file types not just css/js (i.e. support LESS)

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      The code in ResourceModule uses the source Url extension to determine if it can be auto-bundled. For files that mutate from one type to another this prevents files that might quality from being auto-bundled.

      Similar issues may exists in the CSS preprocessor.

              def canAutoBundle = 
                  (!singleResourceModule || (singleResourceModule && defaultBundle)) && // single resource with defaultbundle specified is OK
                  !r.bundle && 
                  !args.wrapper && 
                  !args.attrs && 
                  (r.sourceUrlExtension in bundleTypes)
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Marc Palmer
            Reporter:
            Marc Palmer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: