Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The folder for minified files #9

Open
m00nk opened this issue Oct 26, 2016 · 0 comments
Open

The folder for minified files #9

m00nk opened this issue Oct 26, 2016 · 0 comments

Comments

@m00nk
Copy link

m00nk commented Oct 26, 2016

As I understood, the minifier places the minified files to the same folder as the original files. That is not good idea if the application uses links instead the copying files:

'assetManager' => [
    'linkAssets' => true, 
    ...
],

I assume the better way is to set in the component settings one special folder for all minified files:

'assetMinifier' => [
    'class' => \lajax\assetminifier\Component::className(),
    'assetsFolder' => '@webroot/assets/minified',
    ...
],

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant