web-server 使用 tsconfig-paths

This commit is contained in:
liangtongchuan
2020-09-13 14:02:41 +08:00
parent dbff02f5a6
commit 1e47f614e1
8 changed files with 17 additions and 12 deletions

View File

@@ -1,4 +1,5 @@
import { EggPlugin } from 'egg';
import 'tsconfig-paths/register';
const plugin: EggPlugin = {
// static: true,