Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging React Components #1

Merged
merged 4 commits into from
Nov 7, 2019
Merged

Packaging React Components #1

merged 4 commits into from
Nov 7, 2019

Conversation

radamson
Copy link
Collaborator

@radamson radamson commented Nov 7, 2019

Adds the ability to build the project into a single js file (including the CSS).

We primarily need this to transpile the non-standard JSX in the react components into plain old javascript for use by other projects. Some more context on that can be found here from the folks at create-react-app.

I picked Rollup instead of Webpack to do the build mostly because the react project itself uses it and some other quality projects, like material-ui, do too. I'm sure webpack would work equally as well though.

Normally we wouldn't want to include the build in the repo here, but for now this works.

Also adds in a missing CSS file.

@radamson radamson requested a review from dehall November 7, 2019 18:31
@dehall dehall merged commit 5b02cc2 into master Nov 7, 2019
@dehall dehall deleted the package branch November 7, 2019 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants