Good day! I was wondering what the optimal way to edit webpack.config.js would be in order to have it direct the output to a different project folder besides a demo folder. I have a folder called "project" that's currently in the same parent folder that demo1 is in. It is a PHP project using Metronic 8.2.0. Thank you!
To configure Webpack to direct the output to a different project folder besides the demo folder, you can make the following changes in the `webpack.config.js` file:
1. Locate the `demoPath` variable within the `webpack.config.js` file. It should look something like this:
const demoPath = rootPath + (demo ? "/" + demo : "");
const demoPath = rootPath + "/project";
Thank you very much!
You're very welcome! If you have any more questions or need further assistance in the future, feel free to reach out.