Unexpected token C in JSON at position 0 // NyanCat example

I’m trying to load the library.swf from (NyanCat example) and i’m getting this error:


There is code:


I’m using next.js

I believe that sample relies upon Webpack to perform a transformation so that the SWF is converted during compile-time into a JSON file and image assets for use at runtime. Are you using Webpack?