Comments (6)
There is no such opportunity now
from yii2-assets-auto-compress.
Hi cluwong,
as I'm looking for a way to exclude some files too, I've found this pull request which seems to do what we need: #25
FYI: I didn't try this yet. Please let me now, if it works for you.
from yii2-assets-auto-compress.
Perhaps this is what you need. But I don’t really like this solution, because you cannot control the order of the connected files in it.
And ideally, you need to do something more serious this task.
from yii2-assets-auto-compress.
Hi skeek-semenov,
unfortunately you are right, the #25 approach is not ideal.
Additionally it will not work if appendTimestamp
is enabled in AssetManager.
BR
from yii2-assets-auto-compress.
So there is currently no way to not compress certain assess from being compressed, I am using tinymce widget but it will not load if I am using this, how about an option to only run on front/landing page? it works great for site load times.
from yii2-assets-auto-compress.
You can choose not to use this component on a specific page of the site.
Use a construct call at the beginning of the page
<?php \Yii::$app->assetsAutoCompress->enabled = false; ?>
from yii2-assets-auto-compress.
Related Issues (20)
- how to add async attribute to javascript tag? HOT 1
- how to ignore files with condition HOT 1
- Blueimp Fileupload not loading on compression HOT 4
- Included uncompressed JS files reappearing with compressed file HOT 3
- Skeeks-CKEditor and Yii2-assets-auto-compress not working together
- Javascript minifying is working only in first web load (just after assets folder is deleted) HOT 3
- Ошибки при сжатии css HOT 1
- Uncaught TypeError: $(...).modal is not a function HOT 4
- Not working in advanced app for me
- The problem of html code minification is 75,000 rows or more. HOT 1
- Delete old cache files?
- MAP file?
- tests not running when module is active
- Server processing compression time is too long HOT 6
- don't update css file HOT 4
- Why Minify_CSS::minify and CssMin::minify
- Error yii\base\ErrorException: implode(): Passing glue string after array is deprecated. Swap the parameters in /vendor/skeeks/yii2-assets-auto-compress/src/AssetsAutoCompressComponent.php:380
- implode() func deprecated on PHP 7.4 HOT 1
- Setting unknown property:extra
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yii2-assets-auto-compress.