pshu
pshu
有用 闻风而来 ~
anther case ``` $tree src/api/ src/api/ ├── foo │ └── bar │ └── [id].ts └── foo.ts 2 directories, 2 files superFei@MAC:~/git/umi-playground (master) $ superFei@MAC:~/git/umi-playground (master) $curl http://127.0.0.1:8000/api/foo/bar/test # get 404...
what about this case `api/hello/n-[id].ts` current behavi is curl 'http://127.0.0.1:8000/api/hello/n-\[id\]' {"n-[id]":"is working"}
注释的那个 是不是可以 --parser mdx 试试看
> mfsu 连 ssr 都不兼容 有复现的 case 吗?
> 遇到类似问题,请问解决了吗? 你好 有复现吗? issue 里面的描述的信息太少了
just a joke with author
i know that, it should report wrong syntax, but not stuck the whole program.
年后我改一版 兼容无 `src` 的项目吧
@yeling https://github.com/umijs/es-module-parser/issues/2#issuecomment-1914183499