fix: development environment client does not need to be compiled

This commit is contained in:
chenos 2021-12-02 14:11:19 +08:00
parent fb1083edbb
commit 82ad5de8cb

View File

@ -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'));
},
}); });