broccoli-builder
Installation
npm install broccoli-builder
License
Broccoli was originally written by Jo Liss and is licensed under the MIT license.
Fast client-side asset builder
npm install broccoli-builder
Broccoli was originally written by Jo Liss and is licensed under the MIT license.
broccoli-plugin
API usage for annotation string (fixed issue with 0.8.12...)Temporary revert of leveraging newer broccoli-plugin
APIs for determining annotation string to use.
*
Remove BROCCOLI_WARN_READ_API environment variable, always output warnings for use of old .read
/.rebuild
api. Use broccoli-plugin instead: https://github.com/broccolijs/broccoli-plugin
broccoli-plugin
API's for determining the annotation string to use for a given node.Ensure good error feedback when a SilentError
is thrown.
*
Add line and column number details to the error payload.
node.annotation
for instrumentation if present.broccoliPluginName
to heimdall node information.broccoli-builder
from broccoli
Watcher
and getMiddleware
Builder.getDescription(tree)
helper functionCache-Control
header for directory listings and redirectsliveReloadPath
middleware option in directory listings as wellautoIndex
middleware option to disable directory listingsbuild
output directory already exists.read
API.rebuild
API,
in addition to existing (now deprecated) .read
API.rebuild
-based
pluginsvar
cleanup
method to be asynchronous (by returning a promise).broccoli serve
broccoli build
output by copying the files or
directories they point to into placelogo
and test
directories from npm distributionbroccoli serve
when there is no index.html
willReadStringTree
callback argument to Builder::build
and retire
Builder::treesRead
Watcher
and Builder
interaction to prevent double builds.Watcher
's change
event to provide the full build results (instead of just the directory).broccoli serve
output.Builder::build()
method to return a { directory, graph }
hash
instead of only the directory, where graph
contains the output directories
and timings for each treeBrocfile.js
now exports a tree, not a function (sample diff)broccoli.MergedTree
; it has been extracted into broccoli-merge-trees
(sample diff)broccoli.makeTree('foo')
in favor of string literals (just 'foo'
)
(sample diff)broccoli.Reader
--version
command line optionbroccoli.helpers
into broccoli-kitchen-sink-helpers package.treeDir
property on error objectslocalhost
instead of 0.0.0.0
(whole wide world) by defaultbower-config
package instead of bower
to parse bower.json
files--port
, --host
, and --live-reload-port
options to serve
commandBrocfile.js
, accept lowercase brocfile.js
Broccolifile.js
to Brocfile.js
tree.cleanup
non-optionalbroccoli.read
to broccoli.makeTree
helpers.walkSync
(now in node-walk-sync)Transformer
into broccoli-transform
package (now "Transform
")Filter
into broccoli-filter
package.afterBuild
with .cleanup
factory.env
into broccoli-env packagefactory
argument to Broccolifile.read
-based everything-is-a-tree architectureMergedTree
broccoli.bowerTrees()
, which will hopefully be redesigned and go
away againComponent
base classCompilerCollection
and Compiler
base class; use a Transformer
Tree::addTransform
, Tree::addTrees
, and Tree::addBower
Builder::build
now has a promise interface as wellTree
, not a Builder
, returned from Broccolifile.jsReader
into Tree
PreprocessorPipeline
and Preprocessor
with Filter
; each
Filter
is added directly on the tree or builder with addTransform
0.0.0.0
instead of localhost
factory.env
based on $BROCCOLI_ENV