diff --git a/lib/tasks/test-sass-compilation.js b/lib/tasks/test-sass-compilation.js index 1cae9156..49d9d745 100644 --- a/lib/tasks/test-sass-compilation.js +++ b/lib/tasks/test-sass-compilation.js @@ -59,10 +59,6 @@ async function compilationTest(cwd, { silent, brand } = { throw new Error('CSS was output by default, without making a call to the component\'s Sass API.'); } - if (!silent && requiresPrimaryMixin && !css) { - throw new Error(`No CSS was output when the primary mixin was included with "@include ${primaryMixinName}();". Does the component have no styles?`); - } - } catch (error) { const missingPrimaryMixin = error.message.includes(primaryMixinErrorCode); const missingPrimaryMixinMessage = 'Origami components require a ' +