From 76d4cb38b8ad69b90175d2f08546cab74a17d903 Mon Sep 17 00:00:00 2001 From: Lex Lim Date: Wed, 14 Dec 2022 06:45:19 +0000 Subject: [PATCH] fix styles build error --- src/meta/minifier.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta/minifier.js b/src/meta/minifier.js index cfb740755f..f388b3159e 100644 --- a/src/meta/minifier.js +++ b/src/meta/minifier.js @@ -228,7 +228,7 @@ Minifier.js.minifyBatch = async function (scripts, fork) { actions.buildCSS = async function buildCSS(data) { const lessOutput = await less.render(data.source, { paths: data.paths, - javascriptEnabled: false, + javascriptEnabled: true, }); const postcssArgs = [autoprefixer];