Skip to content

Commit

Permalink
chore: Remove regions' config in next.config.js (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
karolkarolka committed Dec 17, 2024
1 parent 36e0ac4 commit 59c9e8a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 41 deletions.
10 changes: 0 additions & 10 deletions apps/storefront/next.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
import { withSentryConfig } from "@sentry/nextjs";
import createNextIntlPlugin from "next-intl/plugin";

/**
* TODO: Temporary solution until 👇🏻 is merged & released.
* https://github.com/vercel/next.js/pull/63051
*/
import * as tsImport from "ts-import";

const { TRANSLATED_PATHNAME_PREFIXES } = await tsImport.load(
"./src/regions/config.ts",
);

const withNextIntl = createNextIntlPlugin();

const APP_SEMVER_NAME = `${process.env.npm_package_name}@${process.env.npm_package_version}`;
Expand Down
1 change: 0 additions & 1 deletion apps/storefront/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"schema-dts": "1.1.2",
"tailwind-merge": "2.0.0",
"tailwindcss-animate": "1.0.7",
"ts-import": "5.0.0-beta.0",
"ts-invariant": "0.10.3",
"usehooks-ts": "2.13.0",
"xss": "1.0.15",
Expand Down
41 changes: 11 additions & 30 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 59c9e8a

Please sign in to comment.