Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
broccoli-ember-inline-template-compiler
Advanced tools
Broccoli plugin to precompile inline Handlebars templates
Broccoli plugin that precompiles inline Handlebars templates so that libraries or applications can be packaged with Handlebars Runtime only instead of the full library.
inlineTemplateCompiler(inputTree)
inputTree
{Single Tree}
Input is a single tree.
In order for Broccoli Ember Inline Template Compiler to pickup inline templates, they must be assigned to a local variable called precompileTemplate
Example:
// instead of
var template = Ember.Handlebars.compile("...");
// do
var precompileTemplate = Ember.Handlebars.compile;
var template = precompileTemplate("...");
npm install --save-dev broccoli-ember-inline-template-compiler
And then in your Brocfile.js
:
var inlineTemplateCompiler = require('broccoli-ember-inline-template-compiler');
tree = inlineTemplateCompiler(tree);
npm install --save-dev broccoli-ember-inline-template-compiler
No changes to your Brocfile.js
Extracted from https://github.com/emberjs/ember.js/blob/master/lib/broccoli-ember-inline-template-precompiler.js. Authored by @rwjblue, @fivetanley, and @concreted.
This project is distributed under the MIT license.
FAQs
Broccoli plugin to precompile inline Handlebars templates
The npm package broccoli-ember-inline-template-compiler receives a total of 2 weekly downloads. As such, broccoli-ember-inline-template-compiler popularity was classified as not popular.
We found that broccoli-ember-inline-template-compiler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.