@edx/paragon: accommodate per-component imports to prevent bloat

Description

Allow MFEs to import specific components without loading the entire library. Some possible strategies:

  • [Better?] Reorganize paragon to publish each component individually and then only include specific components as dependencies. For example: import Input from '@edx/paragon-input'

  • Use code chunking in Paragon’s build and import specific chunks. For example: Import { Input } from ‘@edx/paragon’; Would become: Import Input from ‘@edx/paragon/dist/Input’;

  • Other?

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Status

Assignee

Unassigned

Reporter

Adam Butterworth

Labels

None

Reach

None

Impact

None

Platform Area

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Category of Work

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Priority

Unset
Configure