Skip to main content


Only Load What You Need With Drupal 8 Libaries

by Zack Hawkins
July 23, 2018

headshot of presenter Zack Hawkins


Gone are the days of having one massive JavaScript or CSS file. In this session from Drupalcamp Asheville 2018, we'll explore using libraries to conditionally load assets and resolve dependencies.

We'll cover the following topics:

  • Introduction to libraries in Drupal 8
  • Library options and configuration
  • What a component based workflow looks like with libraries
  •  Code splitting with Webpack and libraries
  •  Library gotchas and things to be aware of

The ideal viewer is a front-end developer that has either never heard of, or is interested in Drupal 8 Libraries. We'll also cover more advanced approaches for people with modern JavaScript workflows. A basic understanding of Drupal theming may be helpful but is not required.

Meet team member, Zack Hawkins

Zack has ten years of experience as a front-end developer. In his role as Director of Front-end Development at Mediacurrent, he specializes in front-end architecture, workflows and growing the front-end team. He's got a personal passion for building blazing fast, scaleable and maintainable web applications.

Zack graduated from the University of South Carolina with a BA in Studio Art and a focus in graphic design. He was introduced to web design shortly afterward and snagged his first web-related job at the Athens Banner-Herald newspaper in Georgia. The Banner-Herald provided him with an encouraging environment, which allowed him to explore and grow as a web designer. When the organization moved to a Drupal 6 based site, Zack was given the opportunity to dive into Drupal. Zack first joined Mediacurrent as a Front-End Developer. One of Zack’s notable accomplishments at Mediacurrent has been theming for UGA Georgia Center. The project navigated a complex theme comprised of four themes, while building in a maintainable, scalable way. He's also the creator and maintainer of the Mediacurrent theme generator.

Zack lives in Athens, GA with his wife, son and daughter. He has a hidden talent thinking up great start-up names. Fweep. There you go, that one's for free. "You know, just Fweep it!"

Learn more about Zack >