mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-07 01:09:54 +08:00
refactor(editor): remove blocks package (#10708)
This commit is contained in:
@@ -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))
|
||||
),
|
||||
},
|
||||
},
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user