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
Currently the default when no main is provided by the steal configuration option is to use either steal.main or main from the package.json. However this can cause problems if there is not enough information in the package.json to find the main bundle.
Possible solutions:
New config option
Create a new field, maybe called bundle or something that points to the exact path of the bundle:
Create a new package that scrubs the filesystem to search for the main bundle. It could do this by using the package.json as metadata, but would have to have some knowledge for how the main lookup logic works in steal.js.
The text was updated successfully, but these errors were encountered:
Currently the default when no
main
is provided by thesteal
configuration option is to use eithersteal.main
ormain
from the package.json. However this can cause problems if there is not enough information in the package.json to find the main bundle.Possible solutions:
New config option
Create a new field, maybe called bundle or something that points to the exact path of the bundle:
Some algorithm that can find the main bundle
Create a new package that scrubs the filesystem to search for the main bundle. It could do this by using the package.json as metadata, but would have to have some knowledge for how the main lookup logic works in steal.js.
The text was updated successfully, but these errors were encountered: