You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The development server now only transforms the requested pages rather then transforming the entire site. The leads to greatly improved rendering times.
The Renderer, Transformer, and Loader classed used by the Acetate class have all been refactored directly into the main Acetate class.
Breaking changes
Logging methods (log, info, debug, 'success', error, time, and timeEnd) are no longer on instances of Acetate. They are available on under acetate.log object. You will need to make the following changes:
acetate.transformAll and acetate.transformAllAsync have been removed. Removal of these funcations allows for the performance improvments in the development server.
The MarkdownIt instance at acetate.renderer.markdown has been moved to acetate.markdown.
The Nunjucks environment instance at acetate.renderer.nunjucks has been moved to acetate.nunjucks.