Site is built with the following pre-commit hook.
BROCCOLI_TACO_ENV=production broccoli-taco build dist
cp -rf ./dist/* ./
git add .
Broccoli plugin to fingerprint filenames of a tree of files
Site is built with the following pre-commit hook.
BROCCOLI_TACO_ENV=production broccoli-taco build dist
cp -rf ./dist/* ./
git add .
I get a TypeError when running broccoli-taco serve
Built with error:
TypeError: Arguments to path.join must be strings
at path.js:360:15
at Array.filter (native)
at Object.exports.join (path.js:358:36)
at Fingerprint.getDestFilePath (/home/cklein/workspace/broccoli-taco-tests/test/node_modules/broccoli-fingerprint/index.js:43:23)
at Fingerprint.Filter.canProcessFile (/home/cklein/workspace/broccoli-taco-tests/test/node_modules/broccoli-fingerprint/node_modules/broccoli-filter/index.js:58:15)
at /home/cklein/workspace/broccoli-taco-tests/test/node_modules/broccoli-fingerprint/node_modules/broccoli-filter/index.js:42:18
at /home/cklein/workspace/broccoli-taco-tests/test/node_modules/broccoli-fingerprint/node_modules/broccoli-filter/node_modules/promise-map-series/index.js:11:14
at lib$rsvp$$internal$$tryCatch (/home/cklein/workspace/broccoli-taco-tests/test/node_modules/broccoli-fingerprint/node_modules/broccoli-filter/node_modules/rsvp/dist/rsvp.js:493:16)
at lib$rsvp$$internal$$invokeCallback (/home/cklein/workspace/broccoli-taco-tests/test/node_modules/broccoli-fingerprint/node_modules/broccoli-filter/node_modules/rsvp/dist/rsvp.js:505:17)
at /home/cklein/workspace/broccoli-taco-tests/test/node_modules/broccoli-fingerprint/node_modules/broccoli-filter/node_modules/rsvp/dist/rsvp.js:1001:13
Having looked through the existing code, I cannot find any place where the tmpDestDir property is defined.
I am using [email protected] and have just set up a new site using broccoli-taco new test, following the instructions presented when creating the new site.
Since the manifest, from where broccoli-taco tries to get its tmpDestDir from, is created by this, I filed the issue here instead of with broccoli-taco.
Thanks for your work this is really handy.
I would be using this for cache busting and have a basic question: do you have a recommended approach for communicating out to a view, e.g. index.html
the fingerprinted filename?
Maybe I am missing something obvious that is commonly used? I am used to rails asset pipeline for this which abstracts away the fingerprints.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.