ejs-loader icon indicating copy to clipboard operation
ejs-loader copied to clipboard

Is It possible to get compiled html using only require?

Open viktordre2 opened this issue 2 years ago • 0 comments

Hello, I'm sorry for this question, but need to include compiled ejs that was modified through loader chain. For example I want code looks like this to output compiled ejs with better indents. <%= require('better-indents-loader!raw-loader!ejs-loader?{'+data+'}!./myEjs.ejs').default %> Is that possible?

viktordre2 avatar Jan 01 '22 20:01 viktordre2