Which works fine in development mode, but when dumping assets with the --env=prod parameter, I get an error with the r.js optimizer:
[RuntimeException]
Optimization failed:
Tracing dependencies for: 54e2dda05b0e609b386de50cfeef0d63
Error: ENOENT, no such file or directory '/var/www/acme/src/Acme/BaseBundle/Resources/public/js/lib/jquery-1.9.1.min.js.js'
In module tree:
54e2dda05b0e609b386de50cfeef0d63
Acme/View/Frame/MessageDisplay
Acme/Modal
This proposed one line fix solves the issue by replacing the last '.js' on all command line argument values. I've run the unit tests with success and tested this with dumping --env=dev and --env=prod, and also by running it with the assetic:use_controller:true setting in dev mode.
I'm using your bundle with the following config:
Which works fine in development mode, but when dumping assets with the --env=prod parameter, I get an error with the r.js optimizer:
This proposed one line fix solves the issue by replacing the last '.js' on all command line argument values. I've run the unit tests with success and tested this with dumping --env=dev and --env=prod, and also by running it with the assetic:use_controller:true setting in dev mode.