rsnext/packages
Balázs Orbán 539ae6c1fc
fix(output): do not slice pathname unless ends with .txt (#52640)
### What?

When using `output: "export"`, all URL pathnames are sliced.

### Why?

A regression was introduced at
https://github.com/vercel/next.js/pull/50974/files#diff-7b6239af735eba0c401e1a0db1a04dd4575c19a031934f02d128cf3ac813757bR76-R80

### How?

Check if a pathname ends with `.txt` before slicing the end.

Fixes #52381
2023-07-17 11:29:24 +02:00
..
create-next-app v13.4.10 2023-07-14 09:14:17 +00:00
eslint-config-next v13.4.10 2023-07-14 09:14:17 +00:00
eslint-plugin-next v13.4.10 2023-07-14 09:14:17 +00:00
font v13.4.10 2023-07-14 09:14:17 +00:00
next fix(output): do not slice pathname unless ends with .txt (#52640) 2023-07-17 11:29:24 +02:00
next-bundle-analyzer v13.4.10 2023-07-14 09:14:17 +00:00
next-codemod v13.4.10 2023-07-14 09:14:17 +00:00
next-env v13.4.10 2023-07-14 09:14:17 +00:00
next-mdx v13.4.10 2023-07-14 09:14:17 +00:00
next-plugin-storybook v13.4.10 2023-07-14 09:14:17 +00:00
next-polyfill-module v13.4.10 2023-07-14 09:14:17 +00:00
next-polyfill-nomodule v13.4.10 2023-07-14 09:14:17 +00:00
next-swc Turbopack: Vc<T> and Turbo Engine type system improvements (#51792) 2023-07-16 13:56:20 +00:00
react-dev-overlay v13.4.10 2023-07-14 09:14:17 +00:00
react-refresh-utils v13.4.10 2023-07-14 09:14:17 +00:00