Dmitrydataviz.hashnode.dev·Mar 5, 2021@rollup/plugin-json imported but doesn't workI'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...796 readsjsonAdd a thoughtful comment1 commentTop commentsDmitryAuthor·Mar 6, 2021Author·Mar 6, 2021Problem was in coding - so I changed UTF-16 of my data.json to UTF-8 2·Reply
DmitryAuthor·Mar 6, 2021Author·Mar 6, 2021Problem was in coding - so I changed UTF-16 of my data.json to UTF-8 2·Reply