Hey Community,
is it possible to set javascriptEnabled to true, through a custom build plugin, without touching the following lines:
async function saveRenderedCss(data) {
if (!data.customCSS) {
return;
}
const less = require('less');
const lessObject = await less.render(data.customCSS, {
compress: true,
javascriptEnabled: false,
});
data.renderedCustomCSS = lessObject.css;
}
Is there a configOption or hook, which can change it?
Thanks in advance!