Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6340

Handle SCSS imports differently in webpack when used with Karma

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • None
    • None
    • FDS

    Description

      Webpack is capable of importing any kind of file in the build pipeline. This opens up the possibility to be able to share values between JS and SCSS files for example. Sadly the current Karma configuration fails to run the unit tests when a SCSS file is imported into a JS file.

      This needs to be resolved by handling the SCSS imports differently in webpack when running Karma.

      Attachments

        Activity

          People

            lhorvath László Horváth
            lhorvath László Horváth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: