-
Story
-
Resolution: Done
-
Normal
-
None
-
None
There is an issue with the mini-css-extract-plugin and @openshift/dynamic-plugin-sdk-webpack. The compilation hangs when these two are used together when building HCC plugins using the SDK. We suspect this will also occur with the HTML webpack plugin.
We suspect the culprit is non-JS assets being pulled into `findPluginChunks`:
https://github.com/openshift/dynamic-plugin-sdk/blob/main/packages/lib-webpack/src/webpack/ValidateCompilationPlugin.ts#L9
Example silent error:
ERROR in ./node_modules/@data-driven-forms/pf4-component-mapper/esm/select/select/select-styles.css
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
Error: Cannot find entry chunk sources