Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-7627

Introduce SASS modules

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Should have Should have
    • None
    • Performance

      Description

      As part of the future page speed project we'll take into a consideration to improve the bundle size.

      The idea is to stop using @import and start using @use and @forward.

      This is the most important CONS of using @import
      "If you @import the same file multiple times, it can slow down compilation, cause override conflicts, and generate duplicate output."

      This is the most importan "PROS" of using @use
      "The file is only imported once, no matter how many times you @use it in a project."

      External resources

            Unassigned Unassigned
            dtovbein Dan Tovbein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: