mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-05 19:41:40 +08:00
fix(runtime): resetcss不生效
This commit is contained in:
parent
01d1dccbb6
commit
567b054b32
@ -28,7 +28,10 @@ export default defineConfig({
|
||||
alias: [
|
||||
{ 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') },
|
||||
{
|
||||
find: /^@tmagic\/utils\/resetcss.css/,
|
||||
replacement: path.join(__dirname, '../../packages/utils/src/resetcss.css'),
|
||||
},
|
||||
{ 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') },
|
||||
|
@ -27,7 +27,10 @@ export default defineConfig({
|
||||
resolve: {
|
||||
alias: [
|
||||
{ find: /^vue$/, replacement: path.join(__dirname, 'node_modules/vue/dist/vue.esm.js') },
|
||||
{ find: /^@tmagic\/utils\/resetcss.css/, replacement: path.join(__dirname, '../../packages/utils') },
|
||||
{
|
||||
find: /^@tmagic\/utils\/resetcss.css/,
|
||||
replacement: path.join(__dirname, '../../packages/utils/src/resetcss.css'),
|
||||
},
|
||||
{ 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: /^@data-source/, replacement: path.join(__dirname, '../../packages/data-source/src') },
|
||||
|
@ -28,7 +28,10 @@ export default defineConfig({
|
||||
resolve: {
|
||||
alias: [
|
||||
{ find: /^vue$/, replacement: path.join(__dirname, 'node_modules/vue/dist/vue.esm-bundler.js') },
|
||||
{ find: /^@tmagic\/utils\/resetcss.css/, replacement: path.join(__dirname, '../../packages/utils') },
|
||||
{
|
||||
find: /^@tmagic\/utils\/resetcss.css/,
|
||||
replacement: path.join(__dirname, '../../packages/utils/src/resetcss.css'),
|
||||
},
|
||||
{ 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\/data-source/, replacement: path.join(__dirname, '../../packages/data-source/src/index.ts') },
|
||||
|
Loading…
x
Reference in New Issue
Block a user