Angular-builders: custom-webpack - Support for Angular CLI 7

Created on 26 Feb 2019  路  2Comments  路  Source: just-jeb/angular-builders

Describe the bug
Seems not to be working on angular cli 7.

Could you confirm is cli 7 is supported? thanks

Most helpful comment

Hi Evgeny,

Related to the current issue, I just started a fresh Angular 7 project and made the necessary changes to "build" and "serve" per the README.

I'm getting:

Schema validation failed with the following errors:
  Data path "" should NOT have additional properties(customWebpackConfig).

Is there any additional configuration that is required? Perhaps a member of the community that has it working can share some insight?

Thank you in advance.

UPDATE: Error was between the keyboard and chair. I added customWebpackConfig to architect.serve.options, which invalidates the schema. After removing it, I can confirm it's working with Angular 7 (and my additional Webpack plugins were used) :tada:

All 2 comments

Yes, version 7 works with Angular CLI 7

Hi Evgeny,

Related to the current issue, I just started a fresh Angular 7 project and made the necessary changes to "build" and "serve" per the README.

I'm getting:

Schema validation failed with the following errors:
  Data path "" should NOT have additional properties(customWebpackConfig).

Is there any additional configuration that is required? Perhaps a member of the community that has it working can share some insight?

Thank you in advance.

UPDATE: Error was between the keyboard and chair. I added customWebpackConfig to architect.serve.options, which invalidates the schema. After removing it, I can confirm it's working with Angular 7 (and my additional Webpack plugins were used) :tada:

Was this page helpful?
0 / 5 - 0 ratings