Site icon Hip-Hop Website Design and Development

Integrating a Gutenberg custom block within a larger plugin

I am building a plugin that does many things, one of them being adding a Gutenberg custom block. I am wondering how to structure this. Can I use @wordpress/scripts to bundle the JavaScript or TypeScript that is NOT part of the custom Gutenberg block? And if yes, can you explain how?
Or should I just separate this into two plugins? (I’d rather not)