I’m trying to go for an all out Hugo modular theme, without NPM dependencies. Most of the NPM dependencies are done but I’m stuck with dependencies in which
index.js imports SCSS styles like cookieconsent/index.js at dev · osano/cookieconsent · GitHub.
I want Hugo to tell ESBuild to use the esbuild-plugin-sass plugin for this purpose, but I couldn’t find any mention in the Hugo docs. Would it be possible to do so, or is there some other way I can approach this?