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.

fix(core): do not need to inline fonts (#11880)

pengx178fdb00e0ab6b
diff --git a/tools/cli/src/webpack/index.ts b/tools/cli/src/webpack/index.ts
index 976ee5c748..5d8f5908eb 100644
--- a/tools/cli/src/webpack/index.ts
+++ b/tools/cli/src/webpack/index.ts
@@ -202,7 +202,7 @@ export function createHTMLTargetConfig(
},
{
test: /\.(ttf|eot|woff|woff2)$/,
- type: IN_CI ? 'asset/inline' : 'asset/resource',
+ type: 'asset/resource',
},
{
test: /\.txt$/,