From b967605612f3c1ebcfbc7d372fc90f8ffe48f01a Mon Sep 17 00:00:00 2001 From: Jess Telford Date: Fri, 6 May 2022 12:22:28 +1000 Subject: [PATCH] Update link to Next.js Constants code --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 73a003f..6af4ba9 100644 --- a/README.md +++ b/README.md @@ -95,12 +95,12 @@ module.exports = withPlugins([ This will overwrite the `cssLoaderOptions` with the new `localIdentName` specified, but **only** during production build. You can also combine multiple phases (`[PHASE_PRODUCTION_BUILD + PHASE_PRODUCTION_SERVER]: {}`) or exclude a phase (`['!' + PHASE_PRODUCTION_BUILD]: {}` which will overwrite the config in all phases except `PRODUCTION_BUILD`). -You can use all phases [next.js provides](https://github.com/zeit/next.js/blob/canary/packages/next/next-server/lib/constants.ts#L1-L4). +You can use all phases [next.js provides](https://github.com/vercel/next.js/blob/canary/packages/next/shared/lib/constants.ts#L1-L5). ##### `phases?: array` If the plugin should only be applied in specific phases, you can specify them here. -You can use all phases [next.js provides](https://github.com/zeit/next.js/blob/canary/packages/next/next-server/lib/constants.ts#L1-L4). +You can use all phases [next.js provides](https://github.com/vercel/next.js/blob/canary/packages/next/shared/lib/constants.ts#L1-L5). ```javascript const withPlugins = require('next-compose-plugins');