design-system-components
design-system-components copied to clipboard
Seperate react components into single files
Currently our react components are all bundled into the single file, this PR separates each component into a seperate file.
The seperate files are concatenated together in the lib/react/react.js
and then bundled like normal.
- [x] Add jsdoc to react files: #725
NOTES:
- The
form
component requires other component libraries when runningwebpack
, during the build process, when said libs haven't built yet, an error occurs. To mitigate this we need to removebuild:react
from the mainbuild
script inform
. This is issue is also referenced in #730