From 26659c0c6c8128f2197870dc70b3c94f41997d57 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Tue, 29 Oct 2024 09:57:46 +0700 Subject: [PATCH] chore: remove deprecated warning from build project joi (#3893) --- joi/rollup.config.mjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/joi/rollup.config.mjs b/joi/rollup.config.mjs index 333a61c5c..8f20635a5 100644 --- a/joi/rollup.config.mjs +++ b/joi/rollup.config.mjs @@ -38,7 +38,11 @@ export default [ postcss({ plugins: [autoprefixer(), tailwindcss(tailwindConfig)], sourceMap: true, - use: ['sass'], + use: { + sass: { + silenceDeprecations: ['legacy-js-api'], + }, + }, minimize: true, extract: 'main.css', }),