Giter VIP home page Giter VIP logo

Comments (5)

mixonic avatar mixonic commented on June 27, 2024

@dgeb would you accept a PR to use the handlebars npm library instead of packaging one internally?

from grunt-ember-templates.

dgeb avatar dgeb commented on June 27, 2024

@battuashwik that is correct - I created v0.4.10 for those who want to work with ember-latest.

@mixonic sounds good to me - thanks in advance!

from grunt-ember-templates.

mixonic avatar mixonic commented on June 27, 2024

@dgeb I looked at the situation and new understanding has come to light.

Basically, grunt-ember-templates is dependent on handlebars and on ember itself for the compiler. Though there is a npm module for handlebars, the one for ember is way out of date (pre2 or something). So an easy move is not possible.

Possible next steps: NPMize Ember again. Explore an idea I have about apps providing versioned JS files back to the NPM modules they have as dependencies. Include ember and handlebars runtime with grunt-ember-templates so it is at least easy to use one unified version.

Probable next steps: Weep over my beer.

from grunt-ember-templates.

dgeb avatar dgeb commented on June 27, 2024

@mixonic It seems to me that declaring a peerDependency on ember, which then is dependent on handlebars, is the right approach. However, without reliable dependencies, I will join you for that beer 😢 🍻 😢

from grunt-ember-templates.

dgeb avatar dgeb commented on June 27, 2024

I'm going to close this now, since I've added a note about versioning to the README. Basically, this plugin tracks ember-latest, so you may need an older version to work with a particular release of ember/handlebars.

The dependency issues that @mixonic and I discussed run a bit deeper and probably deserve a thread of their own.

from grunt-ember-templates.

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.