Angular 6 ‘eject’ – missing in action

Did you know that Angular v6 does not let you eject the webpack configuration?

angular 6 eject

Running ng eject returns:

The 'eject' command has been temporarily disabled, as it is not yet compatible with the new
angular.json format. The new configuration format provides further flexibility to modify the
configuration of your workspace without ejecting. Ejection will be re-enabled in a future
release of the CLI.

If you need to eject today, use CLI 1.7 to eject your project.

I tried looking for something official but I couldn’t spot anything in the release notes.

The new builder syntax (angular.json) will make it much easier to specify a custom webpack build. Perhaps this is the plan? Get in touch if you know anything.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.