Create a main directory for the project. Switch to the project directory. Type the following at the console:
npm i -D webpack-dev-server html-webpack-plugin path webpack-cli fusioncharts
Entry point for the code is index.js file.
At the console type:
npx webpack serve --mode=development
#Step 5: View your app View your app in the browser by typing localhost:8080