A pretty nice way to expose your Symfony routing to client applications.
1.48k
stars
260
forks
source link
TS2732: Cannot find module './routes.json'. Consider using '--resolveJsonModule' to import module with '.json' extension. #477
Closed
ovi1337 closed 3 months ago
I'm using Symfony 6.4.4 with symfony/webpack-encore-bundle v2.1.1 and friendsofsymfony/jsrouting-bundle v3.5.0 The Typescript-Loader is also enabled.
i've actually started a fresh project with nothing special and i'm getting the following issue:
the relevant webpack.config.js part looks currently like this:
But i can also remove both plugins and getting the same issue. The Export works as expected and the file is also generated.