fix: preset error (#930)

Reviewed-on: daoyoucloud/tachybase#930
This commit is contained in:
sealday 2024-05-08 20:34:28 +08:00
parent c08a8a3557
commit f3195b0b0f
5 changed files with 4 additions and 5 deletions

View File

@ -57,7 +57,6 @@ export default defineConfig({
proxy: {
...umiConfig.proxy,
},
publicPath: 'auto',
fastRefresh: false, // 热更新会导致 Context 丢失,不开启
mfsu: false,
esbuildMinifyIIFE: true,

View File

@ -1,3 +1,3 @@
import { TachyBaseClientPresetPlugin } from 'packages/presets/base/src/client';
import { TachyBaseClientPresetPlugin } from '@tachybase/preset-tachybase/client';
export class PluginRental extends TachyBaseClientPresetPlugin {}

View File

@ -1,4 +1,4 @@
import PresetTachyBase from 'packages/presets/base/src';
import PresetTachyBase from '@tachybase/preset-tachybase';
import _ from 'lodash';
export class PluginRental extends PresetTachyBase {

View File

@ -1,3 +1,3 @@
import { TachyBaseClientPresetPlugin } from 'packages/presets/base/src/client';
import { TachyBaseClientPresetPlugin } from '@tachybase/preset-tachybase/client';
export class PluginRental extends TachyBaseClientPresetPlugin {}

View File

@ -1,4 +1,4 @@
import PresetTachyBase from 'packages/presets/base/src';
import PresetTachyBase from '@tachybase/preset-tachybase';
import _ from 'lodash';
export class PluginRental extends PresetTachyBase {