Where to store source files for theme app extensions

Where to store source files for theme app extensions

maxoppenheimer
Visitor
1 0 1

I'm building a theme app extension block using React and bundling with webpack. I'm curious if there is any best practice for where to store the React source files?

 

Deploying the extension throws an error if there are any added directories in addition to the default extension subdirectories and I don't want to bloat the assets directory with source files. I'm currently storing them in a a top level directory but it feels unintuitive not to have them close to the related extension.

Replies 0 (0)