Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-1886

As a Developer I want to compile Ibexa DXP's .scss files with Dart Sass

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • Customer request, 3.3.14, 4.0.0-rc4
    • 3.3.12
    • None
    • None

    Description

      Currently, when Dart Sass is selected as a Sass compiler - which can be a lot faster than Node Sass - compilation throw's some warnings but fails at

       ERROR  Failed to compile with 2 errors                                                                       4:11:39 PM
      
       error  in ./vendor/ezsystems/ezplatform-calendar/src/bundle/Resources/public/scss/calendar.scss
      
      SassError: 14.2857142857% and 42 are incompatible.
        ╷
      6 │     min-width: calc((100% / 7) - 42);
        │                     ^^^^^^^^^^^^^^^
        ╵
        vendor/ezsystems/ezplatform-calendar/src/bundle/Resources/public/scss/calendar/_week.hour.view.scss 6:21  @import
        vendor/ezsystems/ezplatform-calendar/src/bundle/Resources/public/scss/calendar.scss 31:9                  root stylesheet
      
      
       @ multi ./vendor/ezsystems/ezplatform-calendar/src/bundle/Resources/public/scss/calendar.scss ./vendor/ezsystems/date-based-publisher/bundle/Resources/public/scss/calendar-modals.scss
      
       error  in ./vendor/ezsystems/ezplatform-page-builder/src/bundle/Resources/public/scss/iframe-editor-ui.scss
      
      SassError: Invalid parent selector "[data-ez-block-id]"
          ╷
      154 │ ┌     &:hover .c-block-preview:not(&--unavailable),
      155 │ │     .c-block-preview--action-menu-visible:not(&--unavailable) {
          │ └──────────────────────────────────────────────────────────────^
          ╵
        vendor/ezsystems/ezplatform-page-builder/src/bundle/Resources/public/scss/iframe-editor-ui.scss 154:5  root stylesheet
      
      
       @ multi ./vendor/ezsystems/ezplatform-page-builder/src/bundle/Resources/public/scss/iframe-editor-ui.scss
      

      As a Developer I would like to use Dart Sass compiler with Ibexa DXP.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              mateusz.bieniek@ibexa.co Mateusz Bieniek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: