Comments (5)
And this is specifically to reject/exclude input files right?
If so @SparshithNR's https://github.com/SparshithNR/fs-merger may fit the bill for broccoli-persistent-filter to use, instead of direct this.inputPaths access.
from broccoli-persistent-filter.
I am trying to integrate the https://github.com/SparshithNR/fs-merger, so that broccoli-persistent-filter
will accept n
trees/paths as input and process it and put processed files to the output path. This will avoid the funneling/merging multiple trees before sending it as an input to the broccoli-persistent-filter
.
Something like
class FileModifier extends BroccoliPlugin {
constructor(nodes, options = {}) {
super(nodes, {
name: options.name,
annotation: options.annotation,
persistentOutput: true
});
}
Here nodes
is a list of trees or inputPaths from previous step.
from broccoli-persistent-filter.
@stefanpenner It seems to me that what is being requested is an option that causes only files processed by the filter to pass through to the output tree. @buschtoens is that sufficient?
from broccoli-persistent-filter.
@chriseppstein @stefanpenner - I've come across this issue as I am just starting to use broccoli-persistent-filter
and I have a need to do just that.
I guess I could funnel beforehand but I do want some of the other files to be in the tree/ watched as I need to read from them in processString
and include information from them in the output file (I'm still working on it but I'm planning to use setDependencies
to help with the caching). So maybe I'll end up funneling after but I'm not sure if that will result in unnecessary work being done?
from broccoli-persistent-filter.
@vitch Yeah, I think you'd have to funnel after filtering in that case, it's a little extra work, but not a ton (the files are just symlinked).
from broccoli-persistent-filter.
Related Issues (20)
- Version 10 of node.js has been released
- Changelog is outdated HOT 1
- Add typescript types
- broccoli-persistent-filter - childprocess fail HOT 13
- An in-range update of mocha is breaking the build 🚨 HOT 5
- Prevent inconsistent ember-cli builds with different extensions HOT 7
- cacheKeyProcessString does not invalidate across rebuilds. HOT 1
- Worker is terminated HOT 4
- Use glob expression as file dependency HOT 1
- Upgrade promise-map-series to async/await version once ready
- move to broccoli org? HOT 3
- `dependencyInvalidation` and `concurrency` should not be required HOT 2
- Typescript issues with 3.0 release. HOT 3
- Node 10 doesn't support recursive directory operations. HOT 3
- Build Error (OneShot) HOT 1
- Switch to GH Actions
- broccoli-persistent-filter:babel random error in windows HOT 2
- "unexpected end of file" can persist from corrupted build and there is no discoverable way to force rebuild
- Bring back Windows CI...
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-persistent-filter.