GithubHelp home page GithubHelp logo

Comments (7)

stefanpenner avatar stefanpenner commented on July 24, 2024

Just a note, although logged here (for posterity) this isn't a bug in this repo, rather consuming add-ons must correctly calculate their own cache key. They can do so using many mechanisms, one of which could be using hash-for-dep module. If they do not do this, they must not opt-in to the persistent cache, if they do so stale reads may occur.

from broccoli-babel-transpiler.

stefanpenner avatar stefanpenner commented on July 24, 2024

This is most likely a mix of:

  • documentation that may need to be added
  • an example of how some subclasses are not implemented correctly.

from broccoli-babel-transpiler.

rwjblue avatar rwjblue commented on July 24, 2024

@stefanpenner - I am not sure what you are actually referring to. What packages subclass this broccoli filter? Most simply consume it.

Also, broccoli-babel-transpiler is the only thing that is actually aware of the plugins being used. How would some random package that is simply consuming broccoli-babel-transpiler change the babel transpilers internal cache key?

from broccoli-babel-transpiler.

stefanpenner avatar stefanpenner commented on July 24, 2024

Thanks for pointing that out.

from broccoli-babel-transpiler.

dfreeman avatar dfreeman commented on July 24, 2024

Talked briefly with @rwjblue about this in Slack — as a concrete example of where this can bite people, templates compiled via ember-cli-htmlbars-inline-precompile aren't invalidated when the template compiler changes. This means when running ember-try with config spanning different compilers, some scenarios are doomed to fail.

With this repo, which runs a simple integration test against ember-canary and ember-alpha, whichever scenario runs first will pass, and the other will fail due to the compiled template being in an unexpected format.

from broccoli-babel-transpiler.

Turbo87 avatar Turbo87 commented on July 24, 2024

@rwjblue can we consider this fixed/implemented now with the latest set of changes?

from broccoli-babel-transpiler.

rwjblue avatar rwjblue commented on July 24, 2024

I think so. There may still be specific bugs, but I think we can likely close this...

from broccoli-babel-transpiler.

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.