In webpack.config.js there is a single 'entry' option that takes a string, which is one single JS file. However, Express has many JS files, so I am a little confused. I'd like to know how to go about using Express with Webpack, like whether I have to run every JS file through Webpack, including the files run server-side, and how I could go about achieving that. Or, better yet, a good example of a project using Express and Webpack on GitHub or similar so I can see how the creator has structured the project and what their webpack.config.js file looks like. Thank you /r/node
Submitted August 06, 2018 at 04:00PM by koenigsforst
No comments:
Post a Comment