refactor(editor): remove blocks package (#10708)

This commit is contained in:
Saul-Mirone
2025-03-09 05:44:26 +00:00
parent 0766a2d9ae
commit 12bc142809
277 changed files with 904 additions and 1060 deletions
@@ -1,6 +1,3 @@
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin';
import { defineConfig } from 'vitest/config';
@@ -41,26 +38,6 @@ export default defineConfig(_configEnv =>
testTransformMode: {
web: ['src/__tests__/**/*.spec.ts'],
},
alias: {
'@blocksuite/blocks': path.resolve(
fileURLToPath(new URL('../blocks/src', import.meta.url))
),
'@blocksuite/blocks/*': path.resolve(
fileURLToPath(new URL('../blocks/src/*', import.meta.url))
),
'@blocksuite/global/*': path.resolve(
fileURLToPath(new URL('../framework/global/src/*', import.meta.url))
),
'@blocksuite/store': path.resolve(
fileURLToPath(new URL('../framework/store/src', import.meta.url))
),
'@blocksuite/inline': path.resolve(
fileURLToPath(new URL('../framework/inline/src', import.meta.url))
),
'@blocksuite/inline/*': path.resolve(
fileURLToPath(new URL('../framework/inline/src/*', import.meta.url))
),
},
},
})
);