mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 11:36:42 +00:00
chore(client): add @nocobase/utils to rules
This commit is contained in:
parent
77bf4f2057
commit
8e10d7ae73
@ -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'),
|
||||
);
|
||||
},
|
||||
});
|
||||
|
@ -1,5 +1,3 @@
|
||||
import path from 'path';
|
||||
import { promises as fs } from 'fs';
|
||||
|
||||
export interface RegistryOptions {
|
||||
override: boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user