Open mdarrik opened 3 years ago
I get why <output-dir>
is useful. What's the use case for the custom path to the import map though? Giving up control of where the import map is could make it harder to add support for bare imports when import maps work for real in the browser later
Mainly that (at least with the current implementation of breadbox), your input map doesn't have to be at outputdir/web_modules
toast incremental
currently lets you specify a customoutput dir
besidespublic
. However, the location of theinput-map.json
is hard coded to bepublic/web_modules/input-map.json
.At a minimum, it would be nice if it by default looked for the path
output-dir/web_modules/input-map.json
and allow a custom flag that can specify a totally different location.