Search for: Log In Register OpenSprinkler › Forums › OpenSprinkler Mobile and Web App › minifying updated main.js? This topic has 4 replies, 2 voices, and was last updated 8 months, 3 weeks ago by Samer. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts August 17, 2020 at 6:21 pm #67935 guyberlinerParticipant Any suggestions on how best to minify main.js to produce a new app.js, if we want to make a change to it? Are there any tools you use for this? I don’t see anything like a package.json for it here. August 19, 2020 at 3:32 pm #67954 guyberlinerParticipant Ok, I can see app.js is produced by webpack, apparently. But can anybody tell me the command line I can use? (ie, precisely which other artifacts besides main.js do I need to feed into webpack to produce app.js)? August 19, 2020 at 3:38 pm #67956 SamerKeymaster In order to build the app.js you can use the following command: npx grunt buildFW The result will be an app.js and app.css which should be what you need. Please let me know if you run into any issues! August 20, 2020 at 11:27 pm #67970 guyberlinerParticipant Ok, but I also don’t see a Gruntfile either, so I have no definition for the target buildFW you refer to. August 20, 2020 at 11:36 pm #67971 SamerKeymaster Please clone the repository from our repository here: https://github.com/opensprinkler/opensprinkler-app The Gruntfile is present there along with the package.json with all dependencies. Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In OpenSprinkler › Forums › OpenSprinkler Mobile and Web App › minifying updated main.js?