Including legacy js files in assets/scripts

Hi guys,

I’m just trying out Sage 9. I have a few legacy js files that I have put in assets/scripts folder. These files shouldn’t go through eslint during the build process and I want them included in the dist folder.

My goal is to use something like @asset(’/scripts/legacy/menu.js’) in the templates. How do I go about including them in the dist folder?

See To create additional CSS or JS files, you’ll need to: on https://github.com/roots/docs/blob/sage-9/sage/theme-development-and-building.md#theme-assets