fix: development environment client does not need to be compiled
This commit is contained in:
parent
fb1083edbb
commit
82ad5de8cb
@ -32,4 +32,8 @@ export default defineConfig({
|
|||||||
baseNavigator: false,
|
baseNavigator: false,
|
||||||
baseSeparator: '-',
|
baseSeparator: '-',
|
||||||
},
|
},
|
||||||
|
chainWebpack(config) {
|
||||||
|
config.module.rules.get('ts-in-node_modules').include.add(path.resolve(__dirname, '../client/src'));
|
||||||
|
config.resolve.alias.set('@nocobase/client', path.resolve(__dirname, '../client/src'));
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user