-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Path to ngsw-config.json #10793
Comments
I suggest also a custom path to |
Correct me if I'm wrong but if we run 'ng add @angular/pwa --project project-name' the ngsw-config is added to root '/' right? |
There is already an option to specify the ngsw config path location. This is called That said, maybe we should generate Proposed:
Current:
@clydin, @filipesilva, what do you reckon? |
@alan-agius4 yes, I agree it should be like your proposal. Similar config files are also under |
Generate `ngsw-config.json` under the project sourceRoot if root is empty similar to the `karma.conf.js` Now: ``` -- src ---- ngsw-config.json -- project ---- app ------ ngsw-config.json ``` Current: ``` -- ngsw-config.json -- src -- project ---- app ------ ngsw-config.json ``` Fixes #10793
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Observed behavior
ngsw-config.json must be in src/ directory
Desired behavior
There may be multiple apps configured in angular.json, so the path ngsw-config.json should be configurable also; ngsw-config.json should not be shared across different apps; file name should be configurable;
The text was updated successfully, but these errors were encountered: