From 25485cc4a7ce87c3326b513ce0e3804c6b52e03b Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Wed, 7 Aug 2024 21:48:41 -0700 Subject: [PATCH] Silence the Mixed Declarations SASS Deprecation This is a very noisy deprecation that it looks like we can ignore. Everywhere this is triggered we appear to be expecting the new behavior, we will probably need to wait for the update that changes things and then fix any styles that have an issue. --- packages/frontend/ember-cli-build.js | 3 +++ packages/lti-course-manager/ember-cli-build.js | 3 +++ packages/lti-dashboard/ember-cli-build.js | 3 +++ packages/test-app/ember-cli-build.js | 3 +++ 4 files changed, 12 insertions(+) diff --git a/packages/frontend/ember-cli-build.js b/packages/frontend/ember-cli-build.js index 33f0c85a30..1c96a05501 100644 --- a/packages/frontend/ember-cli-build.js +++ b/packages/frontend/ember-cli-build.js @@ -60,6 +60,9 @@ module.exports = async function (defaults) { minifyCSS: { enabled: false, }, + sassOptions: { + silenceDeprecations: ['mixed-decls'], + }, }; const app = new EmberApp(defaults, config); diff --git a/packages/lti-course-manager/ember-cli-build.js b/packages/lti-course-manager/ember-cli-build.js index 54e47aa6f5..ef2eeb97c0 100644 --- a/packages/lti-course-manager/ember-cli-build.js +++ b/packages/lti-course-manager/ember-cli-build.js @@ -17,6 +17,9 @@ module.exports = async function (defaults) { enabled: true, }, hinting: isTestBuild, + sassOptions: { + silenceDeprecations: ['mixed-decls'], + }, }; const app = new EmberApp(defaults, config); diff --git a/packages/lti-dashboard/ember-cli-build.js b/packages/lti-dashboard/ember-cli-build.js index 1348f32648..a8ce151af2 100644 --- a/packages/lti-dashboard/ember-cli-build.js +++ b/packages/lti-dashboard/ember-cli-build.js @@ -18,6 +18,9 @@ module.exports = async function (defaults) { enabled: true, }, hinting: isTestBuild, + sassOptions: { + silenceDeprecations: ['mixed-decls'], + }, }; const app = new EmberApp(defaults, config); diff --git a/packages/test-app/ember-cli-build.js b/packages/test-app/ember-cli-build.js index 8bf0f6019e..7d9f138d9a 100644 --- a/packages/test-app/ember-cli-build.js +++ b/packages/test-app/ember-cli-build.js @@ -18,6 +18,9 @@ module.exports = async function (defaults) { autoImport: { watchDependencies: ['ilios-common'], }, + sassOptions: { + silenceDeprecations: ['mixed-decls'], + }, babel: { plugins: [ require.resolve('ember-auto-import/babel-plugin'),