jadjoubran / webdash

🔥 Orchestrate your web project with Webdash the customizable web dashboard
https://webdash.xyz
MIT License
1.54k stars 70 forks source link

Dynamically ask user to fill webdash.json with current defaults #8

Closed jadjoubran closed 6 years ago

jadjoubran commented 6 years ago

Rather than asking the user, guess these values just like Workbox does by searching the project directory for a manifest.json (for example)

jadjoubran commented 6 years ago

fs-finder or find-in-files

jadjoubran commented 6 years ago

Files & folders: find

jadjoubran commented 6 years ago
jadjoubran commented 6 years ago

Fix:

 "jsBudgetPath": ".//Users/....com/dist/js/*.js",
 "manifestPath": "./build/default/manifest.json",

knowing that dist is ./dist/

jadjoubran commented 6 years ago

✅