title: How to define ejs variable inside webpack.config?
body: <p>I need to declare an ejs variable that can be accessible from ejs-file. Declaration should be inside webpac.config.js, because I need to use a lot of imports (for example: fs, path…)
  How can It be done?</p>