diff --git a/packages/pluggable-widgets-tools/CHANGELOG.md b/packages/pluggable-widgets-tools/CHANGELOG.md index d40e2425..ed8a9a66 100644 --- a/packages/pluggable-widgets-tools/CHANGELOG.md +++ b/packages/pluggable-widgets-tools/CHANGELOG.md @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Changed - We changed the order of imports in generated widget prop types to match that of the eslint sort-imports rule. +- We silenced the Sass legacy JS API deprecation warning that appeared during widget bundling. ## [11.8.1] - 2026-03-16 diff --git a/packages/pluggable-widgets-tools/configs/rollup.config.mjs b/packages/pluggable-widgets-tools/configs/rollup.config.mjs index ad46da6b..778eeae5 100644 --- a/packages/pluggable-widgets-tools/configs/rollup.config.mjs +++ b/packages/pluggable-widgets-tools/configs/rollup.config.mjs @@ -158,7 +158,11 @@ export default async args => { minimize: production, plugins: [postcssImport(), postcssUrl({ url: "inline" })], sourceMap: !production ? "inline" : false, - use: ["sass"] + use: { + sass: { + silenceDeprecations: ['legacy-js-api'] + } + } }), ...getCommonPlugins({ sourceMaps: !production, @@ -354,7 +358,11 @@ export function postCssPlugin(outputFormat, production, postcssPlugins = []) { ...postcssPlugins ], sourceMap: !production ? "inline" : false, - use: ["sass"], + use: { + sass: { + silenceDeprecations: ['legacy-js-api'] + } + }, to: join(outDir, `${outWidgetFile}.css`) }); }