@rollup/plugin-json imported but doesn't work
I'd built my project within rollup.js .
Suddenly today when I started it terminal gave me this message:
(!) Plugin json: Could not parse JSON file
src\data.json
[!] Error: Unexpected character '�' (Note that you need @rollup/plugin-json to import JSO...
dataviz.hashnode.dev1 min read
Dmitry
Data Visualisation
Problem was in coding - so I changed UTF-16 of my
data.jsonto UTF-8