Skip to content

sass-loader legacy JS API deprecation #638

@brian-smith-tcril

Description

@brian-smith-tcril

Plan

Context (originally posted in #wg-frontend on slack)

Anyone have thoughts on the sass-loader legacy JS API deprecation? A warning pops up when running MFEs locally. There are some details about it here https://sass-lang.com/documentation/breaking-changes/legacy-js-api/#bundlers

A warning pops up when running MFEs locally. There are some details about it here https://sass-lang.com/documentation/breaking-changes/legacy-js-api/#bundlers

It seems to boil down to:

I see 2 options:

OR

  • Upgrade sass-loader (and maybe use sass-embedded? https://webpack.js.org/loaders/sass-loader/#api notes "Using modern-compiler and sass-embedded together significantly improve performance and decrease built time. We strongly recommend their use. We will enable them by default in a future major release."

I'm leaning towards silencing the deprecation warning until we cut Teak and upgrading for Ulmo, but I'm very open to hearing other thoughts on the matter!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions