I’m building a large app, all functionality is spread over different modules. Every module has it’s own assets. What’s the best location to store the assets?
Inside the module, publish on load.
Using a seperate folder like ‘src’ in the root.
I’m considering the first one, since every module is bundled as a package, and it’s easier to publish the assets to a remote host like amazon. Another advantage is that when doing an update, the directory changes so the visitor will automatically fetch the new content instead of cache.