Comments (4)
Upgrading would also fix #26.
from less-plugin-clean-css.
@lukeapage: how do you want to handle the upgrade? IMO we should remove advanced etc and keep clean-css's O1 defaults.
from less-plugin-clean-css.
@XhmikosR
Just chiming in here: imho, ideally you'll want to detect the version in use for CleanCSS and switch on that, continuing support for the old API as people may be stuck using the 3.x branch for some reason or other.
While afaict CleanCSS doesn't have a version
member on its exported object, you can still grab it from the package.json
file. Very easy to do, actually:
var cleanCssVersion = require("clean-css/package.json").version;
For the CLI options in v4, you can probably directly copy a large part of the argument parsing logic from the clean-css-cli
package as well.
from less-plugin-clean-css.
Well, all this is nice and all, but 1) this repo has no tests and 2) I don't want to make so many changes myself. So we need someone to submit a working PR for the current clean-css version and if/when there is a bump we decide how to proceed with old versions.
from less-plugin-clean-css.
Related Issues (20)
- Option --skip-restructuring not recognized HOT 5
- Strange less-syntax bug HOT 10
- Breaks on CSS Function HOT 2
- Allow proper rebasing HOT 3
- font-weight HOT 2
- Source map reference fails in Edge/IE 11 HOT 4
- clean-css not found if lessc is executed from a sub directory HOT 3
- PhpStorm: Unable to load plugin clean-css HOT 6
- Less Plugin Clean CSS is broken HOT 3
- npm audit reports RegEx vulnerability in dependency (clean-css) HOT 3
- Add test cases
- NPM release to resolve security vulnerability HOT 4
- Request: please consider tagging versions
- Border css variable properties are incorrectly removed
- Some colors are incorrectly converted
- Abandoned? HOT 5
- Release HOT 7
- Sourcemaps broken in latest v1.6.0
- --keep-line-breaks/-b stops working in 1.6.0
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 less-plugin-clean-css.