New react component ignored by BuildClientProjects/webpack

We’ve added a new custom react component to Client\Scripts\Components, but it’s completely ignored by BuildClientProjects, or is at least missing from the output in wwwroot\ui.

Webpack output says ./Scripts/Components/*.js.

Are we missing something obvious? We don’t remember having to do anything special in Litium 7.

yarn --verbose run prod directly on the MVC project shows no related warnings or errors.

Tried emptying the ui folder manually before building.

Litium version: 8.3 + accelerator

It can be ignored because it is not used anywhere.

1 Like

Thanks. We can see that with yarn run build:w running we can manipulate index.js and other files to at least get the new component recognized. Will do some more testing.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.