asset-smasher
Advanced tools
Changelog
0.3.2 (June 20, 2013)
Changelog
0.3.1 (June 20, 2013)
Enhanced AMD support
Changelog
0.3.0 (June 1, 2013)
Functional Changes
.js
files (without the additional .jsx
extension) as long as the /** @jsx React.DOM */
comment is present in the file..jsx
files, the JSX transformer will add the /** @jsx React.DOM */
comment to the file if it is missing..js
files can now be automatically wrapped with AMD define
calls if a /** @amd */
comment is present in the file. See the "AMD Support" section of the README for more info.API Changes (this should only affect you if you've written custom transformers)
shouldTransform
and transformedFileName
methods in transformers now receive the asset object as a second parametertransformInfo
property (that is an object) that transformers can use to put information in when they are processing. This can be used, for example, to prevent a file from being processed more than once (see jsx_transform.js
for an example)end_js_semicolon.js
or the new amd_wrapper.js
for examples)Changelog
0.2.10 (April 29, 2013)
Changelog
0.2.9 (April 29, 2013)
require_dir
directive in manifest file if the required directory doesn't exist. Previously this would throw an EMFILE and was inconsistent with what require
and require_tree
did (which was ignore the directive). (Fixes #13)--verbose
and --noclean
. --verbose
will log information about what's going on to the console, while --noclean
will not delete the output directory when running the tool (by default the output directory will be cleared). (Fixes #13)Changelog
0.2.8 (April 28, 2013)
require_tree
on that directory. (Fixes #12)Changelog
0.2.7 (April 17, 2013)