-
Notifications
You must be signed in to change notification settings - Fork 12k
angular-cli: Extensibility #2906
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
Comments
You can create scripts in package.json that chains multiple commands together. And live-reload on ng serve is already a thing... |
Right lets say I can use package.json from where I will execute a command, but does not help with live-reload - when running ng serve |
We plan to support addons in the future, yes. It's a post 1.0 concern at the moment. |
As I understand the cli is based on ember-cli, which supports the
Is it possible to enable this? |
Just wanted to give an update: 1.0 is currently released, and we are looking at the design of an addon system for future major versions. |
This is good news!! Is this going to be under wiki to look at ? |
Are there any news on this ? |
We just added customizable blueprints (#7090, docs are still being created) so that bit is customizable, but there isn't any build step customization yet. |
I see. I will just have to wait for this addons support that maybe allows me to extends or customize build steps. Any timeline for this? But thanks for the prompt reply. |
No time to share yet, no. But will try to share it as soon as we can. |
I would like/recommend the team to be more open about the addon system. The feature has been postponed and delayed for several reason (you know them better) but let the community help you out! Trying to get it right just by yourselves will not produce as good results. Therefore, some recommendations:
I'm really enthusiastic to help on pug (jade) templating and service worker addons but I need you guys to be more open. Help me, help you, win-win :) |
An addon system has been promised as solution for extending the default webpack configuration. Currently, I cannot even do such a simple thing as adding a loader for *.graphql files without hacking node_modules/@angular/cli/models/webpack-configs/common.js. If it will take too long to provide a proper addon system, it would be helpful to re-consider #1656 and at least provide an interim way of injecting webpack loaders using the angular-cli.json cofiguration. I really don't want to eject angular-cli just to be able to import *.graphql files. |
Yeah. I am hacking too few files and next to it I have to have my own CLI script that initialize a few things ;-( |
Any updates / branches I could look into? I'm basically at a standstill on some authorization workflows I need to do... I'm not sure if I should fork / maintain merges or... what. Thanks - Chad |
I thought it's happening |
Sucks not having an easy way to add a loader for |
Having pre-build hooks would be really nice for compiling GRPC-Web stubs. |
I'm going to close this as Architect and Schematics are covering those bases. Architect is going to be stable in 7.0. |
@hansl great stuff by the way - congrats! |
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. |
This is more like feature and maybe this is already in the list.
Even all works great, I would like to extends angular-cli and have some hooks available, to I can plug in my custom-command that can be called everytime I spin a build, or anything while on ng serve I change something and the build refreshes.
ideally the command would be outside of node_modules/
Thanks,
-Fk
The text was updated successfully, but these errors were encountered: