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
{{ message }}
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
To Reproduce
[ ] Run export with a basepath with a leading slash
An export directory is created in the root of your project, rather than __sapper__/export. Whilst this is preferable to the original behaviour in #502 - it's still wrong, and could cause chaos.
Expected behavior
Running export with basepath with a leading slash should build your exported app at __sapper__/export/<basepath>.
Severity
Not super serious, but could cause unwanted side-effects, especially if your basepath was src or something equally silly.
The text was updated successfully, but these errors were encountered:
antony
changed the title
Sapper Export behaviour
Sapper Export with basedir results in writing outside the build directory.
Apr 20, 2020
antony
changed the title
Sapper Export with basedir results in writing outside the build directory.
Sapper Export with basepath results in writing outside the build directory.
Apr 20, 2020
After a lot of investigation, this appears to have been a nuance of the way that a third party had set up a template, and I'm unable to recreate it with a new project.
Describe the bug
An extension of #502
To Reproduce
[ ] Run export with a basepath with a leading slash
An export directory is created in the root of your project, rather than
__sapper__/export
. Whilst this is preferable to the original behaviour in #502 - it's still wrong, and could cause chaos.Expected behavior
Running export with basepath with a leading slash should build your exported app at
__sapper__/export/<basepath>
.Severity
Not super serious, but could cause unwanted side-effects, especially if your basepath was
src
or something equally silly.The text was updated successfully, but these errors were encountered: