refactor: 将data-source,dep,schema,utils收敛到core,将form,table,stage,design,util收敛到editor
This commit is contained in:
@@ -29,10 +29,9 @@ export default defineConfig({
|
||||
{ find: /^react$/, replacement: path.join(__dirname, 'node_modules/react/index.js') },
|
||||
{ find: /^react-dom$/, replacement: path.join(__dirname, 'node_modules/react-dom/index.js') },
|
||||
{
|
||||
find: /^@tmagic\/utils\/resetcss.css/,
|
||||
replacement: path.join(__dirname, '../../packages/utils/src/resetcss.css'),
|
||||
find: /^@tmagic\/core\/resetcss.css/,
|
||||
replacement: path.join(__dirname, '../../packages/core/resetcss.css'),
|
||||
},
|
||||
{ find: /^@tmagic\/ui-react/, replacement: path.join(__dirname, '../../packages/ui-react/src/index.ts') },
|
||||
{ find: /^@tmagic\/utils/, replacement: path.join(__dirname, '../../packages/utils/src/index.ts') },
|
||||
{ find: /^@tmagic\/core/, replacement: path.join(__dirname, '../../packages/core/src/index.ts') },
|
||||
{ find: /^@tmagic\/schema/, replacement: path.join(__dirname, '../../packages/schema/src/index.ts') },
|
||||
|
||||
@@ -30,7 +30,7 @@ import plugins from '../.tmagic/plugin-entry';
|
||||
|
||||
import App from './App';
|
||||
|
||||
import '@tmagic/utils/resetcss.css';
|
||||
import '@tmagic/core/resetcss.css';
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
|
||||
@@ -29,7 +29,7 @@ import plugins from '../.tmagic/plugin-entry';
|
||||
|
||||
import App from './App';
|
||||
|
||||
import '@tmagic/utils/resetcss.css';
|
||||
import '@tmagic/core/resetcss.css';
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
|
||||
Reference in New Issue
Block a user