Relative Content

Tag Archive for javascriptwebpackwebpack-5

Webpack 5: Can’t get my webpack.config.js file setup to Handle Multiple HTML pages

I have a project using HTML, CSS, and JS which I’m trying to use webpack 5 to build separate folders for /pages and /posts for HTML, a folder for my json files (/json-files), and separate folders/files for CSS, /media, /json-files and bundle.js.  All CSS references are in the HTML files (1 HTML file per page).  My directory structure is as follows:

Webpack 5 Issue with Build Folders Not Being Created

I have a project using HTML, CSS, and JS which I’m trying to use webpack 5 to build separate folders for /pages and /posts for HTML, a folder for my json files (/json-files), and separate files for node_modules (/vendor) and my own custom js code (bundle.js).