grovelabs / meteor-less Goto Github PK
View Code? Open in Web Editor NEWMeteor build plugin for compiling Less files in a given order
License: MIT License
Meteor build plugin for compiling Less files in a given order
License: MIT License
I am developing on windows where the import path for less are build with windows \ as file separator, when deploying to a linux machine the meteor project fails to build due to the separator conflict as it is expecting / i guess, but on windows this cant be changed.
I've just started experimenting with creating meteor packages to hold some of my various less files. What I'm finding is that this doesn't really work too well, since the path to those files is something awful, such as:
./.meteor/local/build/programs/web.browser/packages/jcheroske_positioning-mixins/positioning-mixins.less
./.meteor/local/isopacks/jcheroske_positioning-mixins/web.browser/packages/jcheroske_positioning-mixins/positioning-mixins.less
Your library seems to be in a fantastic position to fix this problem, since it's already traversing the meteor app, looking for .less files, and generating the main.less file. Do you think you could add an option to look for .less files in imported packages and add them to the main.less file?
Would make the package faster with the new caching interface
It would be awesome if this package could allow inclusion of data from Mongo, for example. This way values saved by a user (allowing them to customize the colour of their app.) can be retreived from Mongo and fed into the less output at run- time.
=> Errors prevented startup:
While building the application:
error: Failed to parse config/less.json as JSON
=> Your application has errors. Waiting for file change.
I created config folder in my root meteor directory.
Placed less.json from package description.
Prepared working path for index without creating actual main.less
But seems that json path is wrong or something...
With current meteor version in clean new app.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.