create-ampless 1.0.0-beta.163 → 1.0.0-beta.165

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.
@@ -1,5 +1,12 @@
1
1
  /** @type {import('next').NextConfig} */
2
2
  const nextConfig = {
3
+ // ampless serves `format: 'static'` posts at `/<slug>/` (trailing slash)
4
+ // so the bundle's relative asset paths resolve against `/<slug>/...`.
5
+ // The static route 308-redirects `/<slug>` → `/<slug>/`; Next's default
6
+ // trailing-slash normalization does the opposite (`/<slug>/` → `/<slug>`),
7
+ // and the two fight into an infinite redirect loop. Letting middleware /
8
+ // the static route own trailing-slash handling avoids it. Do not remove.
9
+ skipTrailingSlashRedirect: true,
3
10
  images: {
4
11
  remotePatterns: [
5
12
  { protocol: 'https', hostname: '*.s3.amazonaws.com' },
@@ -36,9 +36,9 @@
36
36
  "@ampless/plugin-schema-jsonld": "^0.1.1-beta.32",
37
37
  "@ampless/plugin-seo": "^0.2.0-beta.53",
38
38
  "@ampless/plugin-webhook": "^0.2.0-beta.54",
39
- "@ampless/admin": "^1.0.0-beta.98",
39
+ "@ampless/admin": "^1.0.0-beta.99",
40
40
  "@ampless/backend": "^1.0.0-beta.80",
41
- "@ampless/runtime": "^1.0.0-beta.64",
41
+ "@ampless/runtime": "^1.0.0-beta.65",
42
42
  "@digital-go-jp/tailwind-theme-plugin": "^0.3.4",
43
43
  "ampless": "^1.0.0-beta.53",
44
44
  "aws-amplify": "^6.17.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ampless",
3
- "version": "1.0.0-beta.163",
3
+ "version": "1.0.0-beta.165",
4
4
  "description": "Create a new ampless project",
5
5
  "license": "MIT",
6
6
  "type": "module",