meteor / meteor-feature-requests

A tracker for Meteor issues that are requests for new functionality, not bugs.
Other
89 stars 3 forks source link

Update Less Version #355

Closed fishsaidno closed 4 years ago

fishsaidno commented 5 years ago

Meteor's less package currently uses version 2.5.0 of less (released 3 Apr 2015).

My particular need stems from an npm package (Framework7) providing .less files (intended to be compiled with a newer version) which I'd like to include in my project.

Trying to import the 3rd party less with @import '{}/imports/framework7/framework7.bundle.less'; is met with a whole host of errors.

This stack overflow post details one such error due to @plugin './plugin.js'; The answer also gives some pointers as to what may be needed to get @plugin working in Meteor.

I'm hoping someone with experience in the build/compile side of Meteor could advise how large of a task addressing this may be & where to start.

The source code for Meteor's less package seems to have disappeared..?

distalx commented 5 years ago

Hi @FishSaidNo,

It seems like that source code for the less package has been moved inside non-core directory. https://github.com/meteor/meteor/tree/devel/packages/non-core/less

mfen commented 4 years ago

Is there any plan by Meteor to update/support this package, or is it up to the community now?

Hit this as well trying to use Fomantic UI Less (Meteor's Semantic UI integration package is out of date, and I'm trying to avoid using SUI's gulp build tools); it seems to choke on namespace variables added in less 3.5.0.

afrokick commented 4 years ago

Done! @filipenevola

https://github.com/meteor/meteor/pull/10995