Hello. I'm using webpack-dev-middleware and importing ejs using compile.outputFileSystem. But there is a problem. If there is no include statement, it works fine, but when I try to read the include statement of ejs from webpack-dev-middleware, an error occurs.
Issue
Hello. I'm using webpack-dev-middleware and importing ejs using compile.outputFileSystem. But there is a problem. If there is no include statement, it works fine, but when I try to read the include statement of ejs from webpack-dev-middleware, an error occurs.
github
https://github.com/ryuhangyeong/fe-tip/blob/develop/src/server/app.ts#L84
example
That code works.
This code does not read the path file of include . It works fine if you use production mode or don't have include syntax.