larowlan / vite-plugin-twig-drupal

Provides a vite plugin for rendering Drupal flavoured twig files with Storybook
MIT License
15 stars 4 forks source link

Add back in call to addDrupalExtensions #13

Closed psebborn closed 6 months ago

psebborn commented 6 months ago

In https://github.com/larowlan/vite-plugin-twig-drupal/pull/10, the ability was added to pass functions in. I think I advertantly took the addDrupalExtensions(Twig); line out, which then fails when using Drupal functions like attach_library().

It was in there before, and re-instating it solves the problem :)

larowlan commented 6 months ago

Thanks, release should be out shortly

larowlan commented 6 months ago

1.2.1 is out

github-actions[bot] commented 3 months ago

:tada: This PR is included in version 1.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: