neilime / zf2-assets-bundle

AssetsBundle is a module for Zend Framework 2 allowing asset managment (bundling & caching)
https://neilime.github.io/zf2-assets-bundle/
MIT License
33 stars 20 forks source link

JsShink is corrupting js files #51

Closed chielsen closed 5 years ago

chielsen commented 7 years ago

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

neilime commented 7 years ago

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

neilime commented 7 years ago

Have you tried the previous solutions ?