vela 0.10.12 → 0.10.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vela",
3
- "version": "0.10.12",
3
+ "version": "0.10.13",
4
4
  "type": "module",
5
5
  "description": "A CLI for creating and updating SvelteKit projects",
6
6
  "license": "MIT",
@@ -12,10 +12,6 @@ export default defineConfig({
12
12
  filename.split(/[/\\]/).includes('node_modules') ? undefined : true
13
13
  },
14
14
  adapter: adapter(),
15
- // Prerendering has no request to take an origin from, so without this
16
- // every canonical link and `og:url` on a prerendered page would be built
17
- // from SvelteKit's placeholder host. `vela build` sets it from the domain
18
- // the target is deployed on; unset, SvelteKit's default stands.
19
15
  ...(process.env.VELA_ORIGIN
20
16
  ? { prerender: { origin: process.env.VELA_ORIGIN } }
21
17
  : {})
@@ -14,10 +14,6 @@ export default defineConfig({
14
14
  adapter: adapter({
15
15
  fallback: '200.html'
16
16
  }),
17
- // Prerendering has no request to take an origin from, so without this
18
- // every canonical link and `og:url` would be built from SvelteKit's
19
- // placeholder host. `vela build` sets it from the domain the target is
20
- // deployed on; unset, `$lib/site` still carries the site's own URL.
21
17
  ...(process.env.VELA_ORIGIN ? { prerender: { origin: process.env.VELA_ORIGIN } } : {})
22
18
  })
23
19
  ]