Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

build: wrong keep classnames options (#9750)

forehalo42428fbf9957
diff --git a/tools/cli/src/webpack/index.ts b/tools/cli/src/webpack/index.ts
index e4ff37ca74..8755f314d9 100644
--- a/tools/cli/src/webpack/index.ts
+++ b/tools/cli/src/webpack/index.ts
@@ -42,8 +42,9 @@ const OptimizeOptionOptions: (
compress: {
unused: true,
},
- mangle: true,
- keep_classnames: true,
+ mangle: {
+ keep_classnames: true,
+ },
},
}),
],