package.json
file. This step is very important for Webpack in the Metronic template. The default package.json
works for Gulp. To make it work for Webpack, you have to modify tools/package.json
and remove "type": "module"
. Otherwise, it will cause a compilation error when running the next command.