You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like we could maybe optimize how node_modules is built. Some of the dependencies under devDependencies are more like dependencies (@material-ui, js-cookie, typeface-roboto?). Looking at the Docker artifacts, I see there is an effort to remove extraneous packages (npm prune --production), but I'm not sure if it's actually working. When I go to OpenShift and peak inside node_modules, I still see jest, webpack, -loader, etc. We should probably also make sure that the frontend unit test and related artifacts are left behind from the production images (currently, they are under assets/src/__tests__).
It looks like we could maybe optimize how
node_modules
is built. Some of the dependencies underdevDependencies
are more likedependencies
(@material-ui
,js-cookie
,typeface-roboto
?). Looking at the Docker artifacts, I see there is an effort to remove extraneous packages (npm prune --production
), but I'm not sure if it's actually working. When I go to OpenShift and peak insidenode_modules
, I still seejest
,webpack
,-loader
, etc. We should probably also make sure that the frontend unit test and related artifacts are left behind from the production images (currently, they are underassets/src/__tests__
).Originally posted by @ssciolla in #1363 (comment)
The text was updated successfully, but these errors were encountered: