attach_library
Twig extension was deprecated in the latest version as Storybook has a better method for handling JavaScript. That function won't throw errors in Storybook, but it will not add your JavaScript. See Compound's tabs.stories.js
for an example of how to load component-specific javascript in Storybook.