chore(client): add @nocobase/utils to rules

This commit is contained in:
chenos 2022-04-07 08:39:22 +08:00
parent 77bf4f2057
commit 8e10d7ae73
2 changed files with 7 additions and 2 deletions

View File

@ -35,5 +35,12 @@ export default defineConfig({
'@nocobase/client',
resolve(__dirname, '../client/src'),
);
config.module.rules
.get('ts-in-node_modules')
.include.add(resolve(__dirname, '../utils/src'));
config.resolve.alias.set(
'@nocobase/utils',
resolve(__dirname, '../utils/src'),
);
},
});

View File

@ -1,5 +1,3 @@
import path from 'path';
import { promises as fs } from 'fs';
export interface RegistryOptions {
override: boolean;