Open asiermarques opened 7 years ago
Did you register MabaWebpackBundle
inside AppKernel
? Maybe it's in dev
environment if block?
Yes, in fact the php bin/console maba:webpack:compile command, without the env param, works fine.
If it's working in dev
environment (which is default if you do not pass --env
) and not in prod
, I would suggest to:
AppKernel
). It must be outside of if (in_array($this->getEnvironment(), array('dev', 'test'), true)) {
var/cache/prod
just to be sure that it's not cache-related somehowIn any way, I cannot see how this could be related to the bundle itself and not to the configuration of it in your current set-up.
Just had a similar problem after updating from a 0.5.x version. Even console cache:clear failed trying to access DynamicAssetProvider class, which presumably no longer exists. Manually removing var/cache/prod fixed it.
Running the command
results in
Seems like maba:webpack:compile doesn´t accept any params