-
Notifications
You must be signed in to change notification settings - Fork 388
Allow sw-precache CLI to read config from package.json #152
Comments
Given we support |
I don't know. 😦 I'm not happy with the current approach to option parsing in the CLI in general (see #120) and I'm thinking of taking a survery of some major build tools with CLIs ( I'm personally happy with |
Looking at a few popular CLI tools: create-react-app seems to use Webpack seems to use https://www.npmjs.com/package/yargs ESLint seems to use opinionator: https://github.com/gkz/optionator (I've never used this before) |
Many tools use |
We've started explicitly recommending using objects exposed via |
It's a common practice supported by other build tools with CLIs, e.g.
eslint
.The text was updated successfully, but these errors were encountered: