Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

[$100] Optimize production builds to reduce size #13

Closed
@maxceem

Description

@maxceem

Currently, production builds are not optimized:

image

We should configure webpack in such a way that npm run build create a minified file. Note, that this application is configured to be a microapp inside a Single SPA application, so it cannot be run as a standalone application. And it has a special custom webpack config which we can extend in https://github.com/topcoder-platform/taas-app/blob/feature/api-integration/webpack.config.js#L3.

Development build should not be minified.

For minifying, we can use the same approach as our Topcoder Community App config https://github.com/topcoder-platform/topcoder-react-lib

  • JS files should be minified
  • CSS should be minified

In this task we only need to optimize the built for the TaaS App. Later we would apply the same approach for the Navbar App.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions