You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As seen in the @angular/pwa package that handles the creation of the service worker, config files, manifest, etc. Would be nice if in the future the Angular CLI teams looks at other webapps packaging formats like https://github.com/WICG/isolated-web-apps/blob/main/README.md , the main reason is that some WebAPIs wouldn't be available in WebPages ie: DirectSocketsAPI https://wicg.github.io/direct-sockets/.
I'm not very familiar with IWAs, what exactly would @angular/iwa actually do here? It seems like it would output a Web Bundle, is there anything beyond that such apps would need? Based on a quick reading on the proposal, it seems like this mostly has to do with how the application is packaged and distributed, so I'm unclear on how Angular can meaningfully improve this process.
Well as i said it's a new kind of output for the build process today angular just compiles static code ready the be served from a webserver, i know that 3rd parties can customize and create custom builders that can solve this, but in the future, as the web continues to grow other ways of distributing and signing the compiled output should be considered and taking into account.
What I thought for the scope of @angular/iwa is the configuration of the build process like @angular/pwa for example adds the service-worker file to the output this new package could add the necessary plugins, code signing and perhaps installation of typescript typings for this restricted APIs and so on to the project.
But by all means if the team feels like this should be done outside the angular scope please close this issue, i think just worth the discussion
Command
add
Description
As seen in the @angular/pwa package that handles the creation of the service worker, config files, manifest, etc. Would be nice if in the future the Angular CLI teams looks at other webapps packaging formats like https://github.com/WICG/isolated-web-apps/blob/main/README.md , the main reason is that some WebAPIs wouldn't be available in WebPages ie: DirectSocketsAPI https://wicg.github.io/direct-sockets/.
There are plugins for WebPack that handle the WebBundle creation ie: https://github.com/GoogleChromeLabs/webbundle-plugins#readme this could be automatically configured by the @angular/cli at build time.
Example App that I've found: https://github.com/GoogleChromeLabs/telnet-client.
I know that the proposal is still work in progress, but i feel this should be on the scope of the cli team at some point in the future
Describe the solution you'd like
The creation of @angular/iwa package at some point
Describe alternatives you've considered
No response
The text was updated successfully, but these errors were encountered: