frontend prod and legacy builds likely duplicate css compilation

Description

servar/zanata-frontend/src/frontend/package.json has scripts for build:webpack and build:webpackLegacy which are both configured to generate frontend.css. This may represent a duplicate generation of that file, so may be slowing the build for no benefit.

We may be able to build for multiple entry points with a single run of webpack, avoiding any duplicate compilation of css or javascript. We should research this and implement it if feasible.

This may be helpful: https://medium.com/@rajaraodv/webpack-the-confusing-parts-58712f8fcad9#8d84

Assignee

David Mason

Reporter

David Mason

Labels

Tested Version/s

None

Story Points

2

Epic Link

Components

Sprint

None

Priority

unspecified
Configure