Skip to content

Commit

Permalink
chore: daily development
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangtao25 committed Dec 9, 2024
1 parent e81a56b commit acfe8f4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/canyon-platform/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ import prisma from "@/lib/prisma";

export default async function (phase: string) {
if (
phase === "phase-production-server" ||
phase === "phase-development-server"
true
// phase === "phase-production-server" ||
// phase === "phase-development-server"
) {
const sysSetting = await prisma.sysSetting.findMany({
where: {},
Expand All @@ -38,8 +39,8 @@ export default async function (phase: string) {
swcPlugins:
process.env.NODE_ENV === "production"
? [
["swc-plugin-coverage-instrument", {}],
["swc-plugin-canyon", {}],
// ["swc-plugin-coverage-instrument", {}],
// ["swc-plugin-canyon", {}],
]
: [],
},
Expand Down

0 comments on commit acfe8f4

Please sign in to comment.