Sage 10: Error 'roots' is not defined

Hi all, getting this error when I run yarn build from editor.js. Where is roots defined for the roots.register.filters(‘@scripts/filters’); function?

I believe this happened after I updated to SASS and installed the following packages and files here:

@michael_m you can bypass the error during lint or build by adding the following 2 lines at the top of the file (above the comment before roots.register).

/*global roots*/
/*eslint no-undef: "error"*/
1 Like

That worked. Thanks!