rsnext/packages
Jan Potoms 6ff3a63a2e
Fix link to file url behavior with trailingSlash (#14681)
Avoid trailing slashes on urls that look like files. The redirect for `trailingSlash: true` will now look like:

```
Redirects

┌ source: /:path*/:file.:ext/
├ destination: /:path*/:file.:ext
└ permanent: true

┌ source: /:path*/:notfile([^/.]+)
├ destination: /:path*/:notfile/
└ permanent: true
```

The default still looks like:

```
Redirects

┌ source: /:path+/
├ destination: /:path+
└ permanent: true
```
After this gets merged, I have a few optimizations planned on the normalization code that should reduce the client bundle a little and that consolidates the `trailingSlash` and `exportTrailingSlash` options
2020-06-30 02:25:12 +00:00
..
create-next-app v9.4.5-canary.24 2020-06-29 17:31:30 -04:00
eslint-plugin-next v9.4.5-canary.24 2020-06-29 17:31:30 -04:00
next Fix link to file url behavior with trailingSlash (#14681) 2020-06-30 02:25:12 +00:00
next-bundle-analyzer v9.4.5-canary.24 2020-06-29 17:31:30 -04:00
next-mdx v9.4.5-canary.24 2020-06-29 17:31:30 -04:00
next-plugin-google-analytics v9.4.5-canary.24 2020-06-29 17:31:30 -04:00
next-plugin-sentry v9.4.5-canary.24 2020-06-29 17:31:30 -04:00
next-plugin-storybook v9.4.5-canary.24 2020-06-29 17:31:30 -04:00
next-polyfill-nomodule v9.4.5-canary.24 2020-06-29 17:31:30 -04:00
react-dev-overlay v9.4.5-canary.24 2020-06-29 17:31:30 -04:00
react-refresh-utils v9.4.5-canary.24 2020-06-29 17:31:30 -04:00