Skip to content

Conversation

bebraw
Copy link
Contributor

@bebraw bebraw commented Nov 29, 2016

Now it generates a single CSS file and handles assets through webpack. Instead of multiple CSS files, you end up with a single now so the result should be faster as well.

Interactive components cannot build to styling anymore so I moved the reference to places where Interactive is used instead. This has to do with the fact that those are evaluated separately from the main build. Maybe I could stub this in the future somehow but for now doing this extra step seemed like the smartest move.

Please test locally and let me know how it goes. Note that there's a new dependency (copy plugin) and also antwar received a couple of updates in the process (simpler now).

Now it generates a single CSS file and handles assets through webpack.
Copy link
Member

@SpaceK33z SpaceK33z left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran npm run build-test and clicked through many pages, everything seems to be working fine.

Would this also fix #443?

@bebraw
Copy link
Contributor Author

bebraw commented Nov 29, 2016

Yeah. I set it up so that it generates a separate font file instead of inlining. Easy to adjust.

Copy link
Member

@TheLarkInn TheLarkInn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. 👏👌

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.

3 participants