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.

chore(editor): allow remote debug in presets dev entry (#10279)

Yifeng Wange5315087cbe3
diff --git a/blocksuite/presets/vite.config.ts b/blocksuite/presets/vite.config.ts
index ddeccc083b..1c82048730 100644
--- a/blocksuite/presets/vite.config.ts
+++ b/blocksuite/presets/vite.config.ts
@@ -14,6 +14,10 @@ export default defineConfig(() => {
resolve: {
extensions: ['.ts', '.js'],
},
+ server: {
+ host: true,
+ allowedHosts: true,
+ },
build: {
target: 'es2022',
sourcemap: true,