What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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)