rsnext/packages/next/build/webpack/loaders
Jan Potoms 3623d444c1
Fix basepath browser back/forward issue (#14861)
Discovered while working on https://github.com/vercel/next.js/pull/14848

when asPath is the same but href is different it should use `replaceState` instead of `pushState`, so that browser back/forward behavior is preserved. Currently it's comparing a path that includes basepath with one that excludes  it, so `pushState` is always used. This makes sure the behavior is the same as when running next.js without a basepath
2020-07-07 05:24:38 +00:00
..
emit-file-loader.js Added no-shadow rule to eslint (#13645) 2020-06-01 21:00:22 +00:00
error-loader.ts Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
next-babel-loader.js Add no-anon-default-export Babel lint rule (#14519) 2020-06-30 13:05:29 +00:00
next-client-pages-loader.ts Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
next-data-loader.ts Remove unused variable (#13716) 2020-06-03 11:58:58 -04:00
next-plugin-loader.ts Remove unused variable (#13716) 2020-06-03 11:58:58 -04:00
next-serverless-loader.ts Fix basepath browser back/forward issue (#14861) 2020-07-07 05:24:38 +00:00
noop-loader.ts Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00