strimzi / strimzi-ui

Strimzi UI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Production build of UI browser bundle is bunding test libraries

nictownsend opened this issue · comments

Browser gives error:

process is not defined in 220.bundle.js.

npx webpack --config build/webpack.client.prod.js --profile --json > generated/stats.json and npx whybundled generated/stats.json --directOnly shows that test library and cypress are bundled - which use process.env under the covers (and cause the bundle to fail).

I believe webpack 4 polyfilled process, whereas webpack 5 no longer does.

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days