-
Notifications
You must be signed in to change notification settings - Fork 115
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
Using less@1.3 #183
Comments
+1 I need to compile bootstrap 2.1.0 and this can only be built with less 1.3.3 AFAIK PS: your contact address dev@plus3network.com just bounces |
I have this exact issue today. To the plugin author, I'd suggest removing less as a dependency entirely and allowing plugin users to supply their own I.e. as a user I would want to be able to do something like:
Instead of:
|
Really this is an accord issue - all this library does is wrap accord. AFAIK accord has something for overriding versions, check their README for that info and report back if you have any trouble |
@contra not quite, this project has an explicit, locked dependency on less@2.5.1 I'm still investigating a clean way to support legacy less versions |
If you try: var accord = require('accord')
accord.load('less', path.join(__dirname, 'node_modules/less')); This will result in:
|
I've created a fork of this project that correctly supports 1.3.3 (but had to remove source maps). You can find it here: https://github.com/tbranyen/gulp-less-legacy
|
This seems like an issue you should open on the accord repo, possibly even send a PR to them to add support for older versions of less |
Good news! NPM fixed this situation we're in with Peer Dependencies. |
You can run into this issue when you've installed
|
npm install gulp-less@3.0.0 试试 |
Is it possible for me to use Gulp Less but run less@1.3? I'm trying to support a new project that can only be built with Less@1.3? If so, how do I make this config with this gulp plugin? Thanks!
The text was updated successfully, but these errors were encountered: