Showing 1 – 1 of 1 replies
Antonio86

Good morning I downloaded version 2.2 […]

Antonio86
4 years ago
Good morning
I downloaded version 2.2 of the template and am trying to build the html5-static version.
I followed the guide inside the zip (README.md), however when I run the "npm run build" command the script stops and the webpack.js file is opened, without creating the dist folder.
Is it possible to have a detailed guide on how to build the static version of the template?
Thanks and have a good day
themicon
themicon SELLER
4 years ago
Hi, sorry for the long delay in answer.
I haven't noticed the issue, the problem is that npm run tries to run the webpack.js script present in the folder.
A quick solution for this is to use change where the webpack executable is used, plase open package.json and change the following in the build entry:

"build": "node node_modules/webpack/bin/webpack.js --config webpack.js --mode production --progress",

Let me know if you have any question
Regards