Uploaded image for project: 'ui-data-import'
  1. ui-data-import
  2. UIDATIMP-1037

use correct css-loader syntax for package imports

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 5.1.1
    • None
    • Folijet UI story template
    • Prokopovych - Sprint 126
    • 1
    • Prokopovych
    • Lotus R1 2022

    Description

      css-loader was updated from v1 to v5 as part of STRWEB-23. As noted in one of the associated PRs and the css-loader doc, we also need to update certain CSS import statements of the form

      composes: foo from '@folio/stripes-components/lib/...';
      

      to

      composes: foo from '~@folio/stripes-components/lib/...';
      

      These changes appear to be optional under webpack v4, but they are required for webpack v5 (STRWEB-4), which is imminent.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                zburke Zak_Burke
                zburke Zak_Burke
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases