When running a command:
"generate:plop": "concurrently -g --names \"swc plopfile\\,generate api\" -g \"npx swc ./.build/rtkGenerator/plopfile.ts -o ./.build/rtkGenerator/plopfile.js\" \"plop --plopfile ./build/rtkGenerator/plopfile.js",
It results in error message, saying plopfile.js doesn't exist, even tho the file is there and the command runs after compilation.
When running a command:
"generate:plop": "concurrently -g --names \"swc plopfile\\,generate api\" -g \"npx swc ./.build/rtkGenerator/plopfile.ts -o ./.build/rtkGenerator/plopfile.js\" \"plop --plopfile ./build/rtkGenerator/plopfile.js",
It results in error message, saying plopfile.js doesn't exist, even tho the file is there and the command runs after compilation.Expected behaviour
Run plopfile.js normally
Actual behaviour
Error message:
No plopfile found!
Little more about the issue here