Skip to content

Commit 78d5003

Browse files
committed
workaround mangling issue
1 parent 7f8e41c commit 78d5003

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
import "./.next/dev/types/routes.d.ts";
3+
import "./.next/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"type": "module",
55
"scripts": {
6-
"build": "next build --turbopack && sanity manifest extract --path public/studio/static",
6+
"build": "next build --turbopack --no-mangling && sanity manifest extract --path public/studio/static",
77
"predev": "npm run typegen",
88
"dev": "next --turbopack",
99
"format": "npx prettier --write . --ignore-path .gitignore",

0 commit comments

Comments
 (0)