Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom build dir #3

Closed
bartholomej opened this issue Jul 14, 2021 · 3 comments · Fixed by #4
Closed

Custom build dir #3

bartholomej opened this issue Jul 14, 2021 · 3 comments · Fixed by #4
Assignees
Labels
enhancement New feature or request

Comments

@bartholomej
Copy link
Owner

I am using the vercel adapter with its own build output folder. Would be great if we can customize the build dir.

– Originally requested by @tonprince in this issue #1 (comment)

@bartholomej bartholomej added the enhancement New feature or request label Jul 14, 2021
@bartholomej bartholomej self-assigned this Jul 14, 2021
@bartholomej bartholomej linked a pull request Jul 14, 2021 that will close this issue
@bartholomej
Copy link
Owner Author

bartholomej commented Jul 14, 2021

@tonprince
I made a new option for that and I called it outDir and --out-dir respectively.
It is inspired by ts-config.json nomenclature.

Install: (v1.2.0-beta.0)

npm install svelte-sitemap@next

Usage (package.json):

{
  "name": "my-project",
  "scripts": {
    "postbuild": "svelte-sitemap --domain https://mydomain.com --out-dir my-custom-build-folder"
  }
}

Let me know what do you think ;)

@tonprince
Copy link

Thanks, that looks great.

@bartholomej
Copy link
Owner Author

bartholomej commented Jul 16, 2021

@tonprince @100lvlmaster
Stable version v1.2.1 just released

Thanks guys ;)

npm install svelte-sitemap --save-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants