Comments (1)
@lifeart As of now, we do not have walksync
as you mentioned. But we do have entries
in this.input
. So we can change the build
code slightly to achieve the same goal as before.
build() {
const walkOptions = {
includeBasePath: true,
directories: false,
globs: this.fileMatchers,
};
const content = this.input.entries('./', walkOptions)
.map(file => this.input.readFileSync(file.relativePath, { encoding: 'UTF-8' }))
.join(this.joinSeparator);
fs.writeFileSync(`${this.outputPath}/${this.outputFile}`, content);
}
from broccoli-plugin.
Related Issues (17)
- Make inputTrees immutable HOT 4
- 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
- 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.