-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add swa.json config file #20
Comments
I would prefer |
I assume that I think |
@k-miyake sorry about the confusion:
Do you have other suggestions for the CLI config file? |
@manekinekko I was mistaken, sorry. It is preferable to use a file name that indicates it is for development. |
For naming, thinking something like For contents, I think we can start with a single prop named {
"configurations": {
"app1": {
"context": "./static",
"api": "./api"
},
"app2": {
"context": "http://localhost:3000",
"app-startup-command": "cd frontend && npm start", // proposed in #147
"api": "./api"
}
}
} If there's a single configuration, If there's more than one, use If |
I really like this feature. I'm exploring adding local debugging for SWAs into the VS Code extension and this would make the configuration much easier on users. I think users would be much more comfortable editing a |
Describe the solution you'd like
As a user, I'd like to be able to start
swa
using a config file. All the CLI flags should be supported.File name options:
swa.json
swa.config.json
.swarc
swa
property inpackage.json
The text was updated successfully, but these errors were encountered: