I have a simple web application that is growing in complexity, so I want to use a build tool like Gulp to allow me to do things like compile SCSS to CSS and minimize my JavaScript files before uploading my website.
I followed different tutorials (for example this one) but when testing it by running the command gulp hello in VS Code, I get the error
ReferenceError: require is not defined
Looking around, it seems like I cannot use require in client-side JavaScript and that I need to add some tool like "browserify" too, but this is just adding to the complexity of my simple application. Is there no way to get around this error and use Gulp for simple client-side applications? Is there some other tool I should be using to simplify my workflow?