Coder Social home page Coder Social logo

Comments (4)

aseemk avatar aseemk commented on August 31, 2024

Great point, thanks! On our site, we use a general purpose compilation caching layer that caches all compiled CoffeeScript+Streamline output, so we never run into this, but you're right -- as a distributable module, it should come compiled.

Let me try to get to it sometime this week.

from node-neo4j.

aseemk avatar aseemk commented on August 31, 2024

Sorry this hasn't been done yet -- it was indeed because of the tricky manual "replace all require('blabla_') by require('blabla')" step.

But good news! Streamline recently added support for files to have the same basename as regular JS/CS files, e.g. 'blabla' instead of 'blabla_'. This supports developing-with-source + publishing-compiled nicely.

I've spent a bunch of time looking into this, and it's doable. We just need to spend a bit of time upgrading to Node 0.6 and this newer version of Streamline to make sure everything works okay. I hope to get to it soon -- really this coming week. =)

from node-neo4j.

aseemk avatar aseemk commented on August 31, 2024

Done! Thanks again @vjeux for bringing this to our attention. =)

If you're curious, I achieved this via Streamline 0.2's awesome in-file directive feature, so no underscores in filenames needed anymore.

62fa8ad...825d038

from node-neo4j.

aseemk avatar aseemk commented on August 31, 2024

P.S. Published the compiled version to npm as 0.2.6.

from node-neo4j.

Related Issues (20)

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.