IndivisibleSomerville / its-our-call

2 stars 1 forks source link

Add webpack #33

Closed andrewtremblay closed 6 years ago

andrewtremblay commented 6 years ago

Before deploying react to the frontend, we should be packaging it into a file (or cluster of files, depending on size).

Requirements

ethanbb commented 6 years ago

Doesn't create-react-app already include webpack in its initial configuration? Can we just use npm eject to expose and customize webpack?

andrewtremblay commented 6 years ago

I forgot about that! I always eject and customize webpack from the start since I always customize it.

I think customization is going to be inevitable (especially once we start getting deep into svgs), but we can move this to a lower priority issue until we hit those problems.

andrewtremblay commented 6 years ago

Closing as unnecessary.