You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could add an auto_detect argument to build_js, that will auto discover the entry points in a given folder (or in the default srcjs). Currently when you're doing component based bundling you constantly need to provide all the entry points, like so:
and if you accidentally forget to give the entry_point arg, you end up with a main.js file again 🙃.
It could look like this instead:
build_js(auto_detect = TRUE)
Default would be FALSE (or TRUE even, if that works in combination while ensuring backwards compatibility?) and it would automatically look for .js files in the directory given in dir.
The text was updated successfully, but these errors were encountered:
We could add an
auto_detect
argument tobuild_js
, that will auto discover the entry points in a given folder (or in the defaultsrcjs
). Currently when you're doing component based bundling you constantly need to provide all the entry points, like so:and if you accidentally forget to give the
entry_point
arg, you end up with amain.js
file again 🙃.It could look like this instead:
Default would be
FALSE
(orTRUE
even, if that works in combination while ensuring backwards compatibility?) and it would automatically look for .js files in the directory given indir
.The text was updated successfully, but these errors were encountered: