Only load what you need with Drupal 8 Libraries

Zack Hawkins

Gone are the days of having one massive JavaScript or CSS file. In this session 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 audience member 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.

https://www.drupalasheville.com/2018/session/only-load-what-you-need-drupal-8-libraries

Platinum Sponsor:
DDEV - https://tech.drud.com/ddev
DevShop.Support - https://devshop.support

Drupal is a registered trademark of Dries Buytaert.