-
Notifications
You must be signed in to change notification settings - Fork 448
Description
Is your feature request related to a problem?
I just created a Partytown integration for Drupal (https://www.drupal.org/project/partytown_drupal).
Currently, I'm packaging the compiled Parytown lib
directory with the module. However, this isn't an ideal solution. I've got an open issue that suggests using composer to download Partytown as a third party library and place it in a dedicated libraries
directory.
However, as far as I'm aware, this would require a npm build step in order to work. Otherwise, composer will just download the source code, which is all written in TypeScript and won't work on the frontend.
Describe the solution you'd like
It would really help integration developers like myself if releases for Partytown included a compiled version of the lib directory so we can follow best practices in the Drupal ecosystem.
Describe alternatives you've considered
Currently, I'm packaging the compiled code by manually running npm install
and then extracting the parts I need into my module, but this isn't an ideal solution.
Additional context
No response