Closed juliaelman closed 7 years ago
After experimenting with Sass "support" this afternoon, I'm thinking one way that we could handle this is to generate zips (and any other "built" assets, such as CSS from Sass) in fractal.js
. I'll create a PR for my USWDS button component today so you can see how this might work.
The one thing that I haven't figured out yet is how to hook into static Fractal builds. So my setup does a full build of any generated assets at startup then watches the directory, but there's nothing in there to "tell" Fractal to wait for our build to complete. It's theoretically possible that fractal build
might exit before our parallel builds finish, but I can't really be sure until we get #24 fixed.
Currently the only way to download the assets for a component is by finding a link for each one and then clinking on the ref link for that asset. This can be painful when there are many different types of assets.
Here is some light acceptance criteria: