neilime/zf2-assets-bundle

JsShink is corrupting js files

chielsen opened this issue · 2 comments

Sinced you changed to JsShrink some of my js files are corrupted. It removes too many spaces. Could you change it back?

You can define which js filter you want to use in configuration :

array(
    'assets_bundle' => array(
        'filters' => array(
            \AssetsBundle\AssetFile\AssetFile::ASSET_JS => 'JsMinAssetFileFilter',
        ),
    ),
);

Please tell me if it works for you

Have you tried the previous solutions ?