diff --git a/packages/create-sitecore-jss/src/templates/nextjs-sxa/package.json b/packages/create-sitecore-jss/src/templates/nextjs-sxa/package.json index a3bf878ab8..abf099e620 100644 --- a/packages/create-sitecore-jss/src/templates/nextjs-sxa/package.json +++ b/packages/create-sitecore-jss/src/templates/nextjs-sxa/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "bootstrap": "^5.1.3", + "bootstrap": "^5.1.3" } } \ No newline at end of file diff --git a/packages/create-sitecore-jss/src/templates/nextjs/src/lib/middleware/plugins/redirects.ts b/packages/create-sitecore-jss/src/templates/nextjs-sxa/src/lib/middleware/plugins/redirects.ts similarity index 100% rename from packages/create-sitecore-jss/src/templates/nextjs/src/lib/middleware/plugins/redirects.ts rename to packages/create-sitecore-jss/src/templates/nextjs-sxa/src/lib/middleware/plugins/redirects.ts diff --git a/packages/sitecore-jss-nextjs/src/index.ts b/packages/sitecore-jss-nextjs/src/index.ts index d5982465d4..f4523708b7 100644 --- a/packages/sitecore-jss-nextjs/src/index.ts +++ b/packages/sitecore-jss-nextjs/src/index.ts @@ -121,3 +121,5 @@ export { withPlaceholder, withDatasourceCheck, } from '@sitecore-jss/sitecore-jss-react'; + +export { RedirectsMiddleware } from './middleware/redirects-middleware';