I fork this repo https://github.com/Esri/ago-assistant and cloned to my machine and "npm install" to get the dependencies.
But when I try to open the index.html in the console I get errors about files "missing". I say "missing" because the files are there but they don't have the ".min.js" file extension just ".js".
How do I fix this other than going to all the files manually changing the extension? Or what's a better apporach or best practice here? Thanks
The best way to handle this would be to minify the files yourself using the process the project recommends. According to the
package.jsonof the project, they're usingBabelin combination withuglify-js.You should be able to resolve this by simply running
build:jsfrom the project folder, which will launch the build script for the project, including the minifcation component:uglifyjs -c -o build/js/main.min.js.As an alternative, you should also be able to run the relevant task from Visual Studio's
Task Runner Explorer(View --> Other Windows --> Task Runner Explorer). If the task does not show up, installing the NPM Task Manager Runner should force it to.