How do I 'copy' my resources over to the webpack d...
# javascript
k
How do I 'copy' my resources over to the webpack directory? Under 'build/js/packages/<project>'? I'm trying to use the HtmlWebpackPlugin with a template index.ejs but I don't know how I can pass the index.ejs from my resources folder into that project dir? It just places it under 'processedResources' which I do not want.
Nvm, just using this now:
Copy code
template: '../../../../web-app/src/main/resources/index.ejs'
With
webpack
plugin short path will be available:
Copy code
template: 'index.ejs'