I used my a JSON exported .flr file in my react app, however it throws me the following error:
Module parse failed: Unexpected token (2:10)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| {
> "version": 24,
| "artboards": [
| {
I tried it with Binary file as well and it threw a Unexpected character '' (1:2) error.
I also tried it with a .flr2d file and got the same error as above
I used my a JSON exported
.flr
file in my react app, however it throws me the following error:Unexpected character '' (1:2)
error..flr2d
file and got the same error as aboveHere is how I imported my file, just in case.