Is there a way to include ejs files in memory rather than ejs written to disk?
issue
I use HtmlWebpackPlugins in webpack-dev-middleware to generate html and ejs templates in express.js. But there is a problem. The assets of webpack-dev-middleware exist in memory, and the ejs include statement reads files written from disk. In this case, how can I solve my problem?
Is there a way to include ejs files in memory rather than ejs written to disk?
issue
I use HtmlWebpackPlugins in webpack-dev-middleware to generate html and ejs templates in express.js. But there is a problem. The assets of webpack-dev-middleware exist in memory, and the ejs include statement reads files written from disk. In this case, how can I solve my problem?