Giter VIP home page Giter VIP logo

connect-less's People

Contributors

igm avatar martinodf avatar xjamundx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

connect-less's Issues

Don't include .gitignore into npm module

The .gitignore file causes an npm "UNMET DEPENDENCY" on async when we git clone our web project. This means the async module for us doesn't get checked in to our code. Do you recommend installing async module at the root of our web project?

Allow to have .css files instead of just .less files

In my application, it has both .less and .css file.

For example, In an application.less file, I import a .css file like this:

@import "theme/default/jquery.mobile.css";

Expected: It should work in this case.

Actual: However, connect-less does not understand this, it said:

DEBUG: Error: ENOENT, open '/Users/hoatle/workspace/hoatle/catalog_display/webapp/css/theme/default/jquery.mobile.less'

Track @imported files mtimes

connect-less enables @import statements (which aren't working in Connect's compiler and several other middlewares).
We need to track each of the @imported files modification times to know whether to update the resulting merged .css file.

less 1.3.0 and versions

Less 1.3.0 has some breaking changes and we aren't ready to update to it yet.

Since connect-less specifies the less version as ">=1.1.6" when conneect-less is installed npm happily installs less 1.3.0 and our code breaks.

I'm not sure how to fix this properly but I had an idea, release (and publish to npm) a version 0.2.4 of connect-less with a less version specified as "1.1.6" then release another version of connect-less 0.3.0 with a less version of "1.3.0" specified. This way people can choose the less version and a minor version change of connect-less won't be breaking backwards compatibility.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.