Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
broccoli-ember-hbs-template-compiler
Advanced tools
ember.js precompiler for projects that use broccoli
An opinionated filter for Broccoli that compiles handlebars templates for ember.js
npm install --save-dev broccoli-ember-hbs-template-compiler
module.exports = function (broccoli) {
var templateCompiler = require('broccoli-ember-hbs-template-compiler')
var pickFiles = require('broccoli-static-compiler')
function preprocess (tree) {
tree = templateCompiler(tree);
return tree
}
var sourceTree = broccoli.makeTree('js');
var templates = pickFiles(sourceTree, {
srcDir: '/templates',
destDir: '/templates'
})
var appTemplates = preprocess(templates);
return [appTemplates];
}
It's opinionated so you get both .hbs and .handlebars extensions out of the box
It requires the destination directory name be templates (as shown in the above example)
FAQs
ember.js precompiler for projects that use broccoli
The npm package broccoli-ember-hbs-template-compiler receives a total of 266 weekly downloads. As such, broccoli-ember-hbs-template-compiler popularity was classified as not popular.
We found that broccoli-ember-hbs-template-compiler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.