Comments (7)
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.
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.
@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.
Thanks for pointing that out.
from broccoli-babel-transpiler.
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.
@rwjblue can we consider this fixed/implemented now with the latest set of changes?
from broccoli-babel-transpiler.
I think so. There may still be specific bugs, but I think we can likely close this...
from broccoli-babel-transpiler.
Related Issues (20)
- Version 6.1.4 not tagged "latest" on npm HOT 2
- Update babel-7 branch with latest changes on master. HOT 1
- Improve parallel errors further
- warn/error if duplicate plugins provided
- .babelrc changes do not bust cache HOT 5
- Confusing error message for non-parallelizable plugin HOT 2
- Parallelization Does Not Interop Between Babel 6 and 7 HOT 3
- TypeError: Cannot read property '_parallelBabel' of null HOT 1
- Polyfill missing in output due to bad path handling HOT 6
- upgrade node-workerpool for WorkerThread support HOT 3
- Share worker even if different babel version HOT 2
- Worker process not terminated when Babel emits ReferenceError on malformed options HOT 15
- Trouble getting transpiled JS to work in the browser HOT 4
- Suggest using core-js directly HOT 3
- Remove `options.browserPolyfill` option.
- Move babel specific options into `options.babel` property. HOT 1
- @babel/polyfill 7.4.0+ has been deprecated HOT 1
- New release HOT 3
- Does not support latest broccoli-persistent-filter HOT 3
- JOBS=1 does not result in babel transforms being run in the main ember-cli build process
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from broccoli-babel-transpiler.