collective-soundworks / soundworks

Creative coding framework for distributed applications based on Web technologies.
http://soundworks.dev
BSD 3-Clause "New" or "Revised" License
114 stars 7 forks source link

[template-build] - review build strategy #23

Closed b-ma closed 3 years ago

b-ma commented 3 years ago

The build strategy is too restrictive, we need to be able to create arbitrary folders and assume they are transpiled (e.g. shared, etc.)

A possible strategy would be to babel everything, maintaining the directory structure, and webpack declared browsers clients. It would probably simplify the build scripts too.

b-ma commented 3 years ago

ok this should be working in a more consistent way.

Beware that I published the fix as a minor version (which is sully, it should have been a patch), because the former behaviour was kind of a bug, so previous workarounds may break.