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
Let's assume that some-package is the package which contains the foo.ftd and bar.ftd mentioned in export zip discussion.
Here we are using some-package#foo, meaning we want to use the fpm package to come from the generated zip. By default it would be mounted on /-/foo since all dependencies go to /-/<dependency-name>. If there is a conflict, more than one dependency have the same hash, then its a configuration error. And hello.py will be served on /-/foo/hello.py.
Since we have further specified the mount point, hello.py would be served on /internal-foo/hello.py.
Note: in the example here, the package is invalid, since it does not have FPM.ftd. We will either relax this, and FPM.ftd would become optional or we will check and this feature can only be used if the zip file is a valid fpm package and contains FPM.ftd.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
A package can mount zip package created from the itself or another package on any url. The URL would be passed as
base-url
so all links would work.Let's assume that some-package is the package which contains the
foo.ftd
andbar.ftd
mentioned in export zip discussion.Here we are using
some-package#foo
, meaning we want to use the fpm package to come from the generated zip. By default it would be mounted on/-/foo
since all dependencies go to/-/<dependency-name>
. If there is a conflict, more than one dependency have the samehash
, then its a configuration error. Andhello.py
will be served on/-/foo/hello.py
.Since we have further specified the mount point,
hello.py
would be served on/internal-foo/hello.py
.Note: in the example here, the package is invalid, since it does not have
FPM.ftd
. We will either relax this, andFPM.ftd
would become optional or we will check and this feature can only be used if the zip file is a valid fpm package and containsFPM.ftd
.Beta Was this translation helpful? Give feedback.
All reactions