The sprite is missing the path and other properties in the dist folder after running npm run build. Before the command and minification, sprite works fine in local host and deployment (I use parcel v2). If I click the specified sprite link directly on the index.html generated in dist folder, it says the file is missing but the file is present with just <svg width="0" height="0" class="hidden"/> no paths or other properties
Here is my package.json
"name": "rainify---vanilla-website",
"version": "1.0.0",
"scripts": {
"dev": "parcel index.html",
"build": "parcel build index.html",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"devDependencies": {
"parcel": "^2.13.3",
"svgo": "^3.3.2"
}
}```
Updated parcel. Without minification it works fine. The deployed and local host also exhibits the same behavior without sprite.
my live website: /