Description
Symfony version(s) affected
7.3.0
Description
I am running into an error each time i create a new Symfony 7.3 project with AssetMapper and Api Platform. When running the asset-map:compile
command
It seems that the asset mapper is trying to import a file that is coming from a commented part of the graphiql.min.js file that is not supposed to be imported.
I might be doing something wrong but i have never encountered this issue before version 7.3 of Symfony.
How to reproduce
Create a new project
symfony new my_project_directory --version="7.3.x-dev" --webapp
Install Api Platform
composer require api
Compile your assets
php bin/console asset-map:compile
Possible Solution
For now i just delete the comment related to the issue directly inside the minified javascript code but there might be an underlying issue on how the comment is handled.
Additional Context
In JavaScriptImportPathCompiler.php line 144:
Unable to find asset "./path/to/domAnimations" imported from "vendor\api-platform\core\src\Symfony\Bundle\Resources\public\graphiql\graphiql.min.js".