mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 04:07:50 +08:00
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,
|
||||
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