diff --git a/package.json b/package.json index 0375714..5ce7259 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@instructure/brandable_css", - "version": "3.1.0", + "version": "3.1.1", "description": "This is what we use to compile sass in canvas-lms with all our variants and custom theme editor css", "main": "./src/main.js", "scripts": { diff --git a/src/compileBundle.js b/src/compileBundle.js index 2b25ba3..0ff1edf 100644 --- a/src/compileBundle.js +++ b/src/compileBundle.js @@ -60,7 +60,8 @@ module.exports = async function compileBundle ({bundleName, variant}) { includePaths: includePaths, outputStyle: SASS_STYLE === 'nested' ? 'expanded' : SASS_STYLE, sourceComments: SASS_STYLE !== 'compressed', - sourceMap: false + sourceMap: false, + silenceDeprecations: ['import', 'global-builtin', 'color-functions', 'legacy-js-api', 'if-function'] }) const postcssResult = await postcss([