Comments (4)
Yes, trees are definitely supposed to be immutable, and we're not enforcing that at the moment.
@stefanpenner mentioned some use cases where Ember CLI addons want to modify the set of inputTrees
at initialization time (when Brocfile.js
runs basically, so before the Broccoli builder kicks in). I'm still unsure - we could allow early mutation and then freeze it, or maybe we should find a different approach and really have trees be completely immutable. /cc @rwjblue
from broccoli-plugin.
Allowing early mutations would be acceptable once outputPaths are fully immutable (the other issue), but I think it still produces code which more difficult to reason about than it should be
from broccoli-plugin.
Cc @chadhietala
from broccoli-plugin.
This has gone stale, I believe our current architecture addresses many of these concerns.
from broccoli-plugin.
Related Issues (17)
- Example code fails with TypeError: Missing `new` operator HOT 1
- Narrowing down caching failure - RFC HOT 56
- How do we handle dependencies that are not within the input tree? HOT 1
- This project appears to introduce ~239 files via itself and its deps
- better "cleanup" idea HOT 5
- HTML elements don't have closing tags
- Return rejected promise HOT 6
- got [object Object] for inputNodes[1] HOT 6
- [Discussion] Attaching Meta Data HOT 2
- trackInputChanges fails silently on older broccoli versions HOT 1
- builtin walkSync for this.output, this.input or `fake fs` HOT 1
- cachePath persistence. HOT 2
- Snyk shows high vulnerable issue through dependencies
- tests appear to require the internet HOT 4
- `multidep` failure on node@15
- Not working with ember-auto-import & absolute input paths HOT 3
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-plugin.