
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
broccoli-retain-directive-header-comments
Advanced tools
Broccoli plugin that converts "regular" comments in CoffeeScript and SASS into block comments, so they are retained after transpilation.
Broccoli plugin that converts "regular" comments in CoffeeScript and SASS into block comments, so they are retained after transpilation.
I'm using this in conjunction with https://github.com/timmfin/sprockets-directive-loader so that Sprockets-style directive comments (like #= require ...
) are still available in the compiled JS and CSS output.
#= require ./other.js
# is converted to ...
###= require ./other.js ###`
#= require ./other.js
###= require ./two.js
#= require ./three.js
###
# is converted to ...
###= require ./other.js ###
###= require ./two.js ###
###= require ./three.js ###
###= require ./1.js
#= require ./2
#= require ./4 ###
# is converted to ...
###= require ./1.js ###
###= require ./2 ###
###= require ./4 ###
//= require ./other.css
// is converted to ...
/*= require ./other.css */
//= require ./other.css
//= require ./two.css
// is converted to ...
/*= require ./other.css */
/*= require ./two.css */
//= require ./other.css
/*= require ./two.css
= require ./three.css
*/
// is converted to ...
/*= require ./other.css */
/*= require ./two.css */
/*= require ./three.css */
FAQs
Broccoli plugin that converts "regular" comments in CoffeeScript and SASS into block comments, so they are retained after transpilation.
The npm package broccoli-retain-directive-header-comments receives a total of 1 weekly downloads. As such, broccoli-retain-directive-header-comments popularity was classified as not popular.
We found that broccoli-retain-directive-header-comments 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
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.