Closed b-ma closed 1 year ago
The template seems run well when type: module only with minor changes
type: module
possible steps to explore:
template-build
package.json
soundworks-template
server.js
client.js
soundworks
import
This open the path for dynamic imports that could simplify a possible scaffolding tool
https://github.com/sindresorhus/meta/discussions/15
abandoned in v3, done in v4
The template seems run well when
type: module
only with minor changespossible steps to explore:
template-build
so that it transpile sources only if it findstype: module
in the projectpackage.json
-> if it doesn't, add a post installsoundworks-template
, to usetype: module
server.js
andclient.js
insoundworks
so that the updates are even more simple and theimport
more elegantThis open the path for dynamic imports that could simplify a possible scaffolding tool