Skip to content

Commit

Permalink
chore: add multi-zone
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyingchun committed Aug 2, 2024
1 parent 491fb6c commit 564e3fc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,9 @@ Learn more about the power of Turborepo:
- [Filtering](https://turbo.build/repo/docs/core-concepts/monorepos/filtering)
- [Configuration Options](https://turbo.build/repo/docs/reference/configuration)
- [CLI Usage](https://turbo.build/repo/docs/reference/command-line-reference)

## Multi-Zone Next.js Applications

Multi Zones are an approach to micro-frontends that separate a single large application on a domain into smaller applications that each serve a set of paths.

- [Multi-Zone Next.js starter](https://github.com/hyperse-io/next.js-multi-zone-starter)
4 changes: 1 addition & 3 deletions apps/docs/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
basePath: '/docs',
};
const nextConfig = {};

export default nextConfig;
1 change: 0 additions & 1 deletion apps/web/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ const buildEnv = getNextConfigEnv(
*/
const config = {
reactStrictMode: true,
basePath: '/web',
output: buildEnv.NEXT_BUILD_ENV_OUTPUT,
webpack(config) {
if (isDev) {
Expand Down

0 comments on commit 564e3fc

Please sign in to comment.