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: enable new decorator for swc (#7070)

pengx1713b51c7b2277
diff --git a/tools/cli/src/webpack/config.ts b/tools/cli/src/webpack/config.ts
index baf25787b5..81c7df5a96 100644
--- a/tools/cli/src/webpack/config.ts
+++ b/tools/cli/src/webpack/config.ts
@@ -273,6 +273,7 @@ export const createConfiguration: (
},
},
useDefineForClassFields: false,
+ decoratorVersion: '2022-03',
},
},
sourceMaps: true,