A Gulp-based compiler for ScarletsFrame, a framework for building web components with .sf files. Version 0.7.2 is the latest stable release. It compiles .sf files into JavaScript, CSS, and HTML, and integrates with BrowserSync for live reloading. Differentiators include a macro system for appending HTML to body and file path injection via #this.path. The project appears to be low-maintenance with infrequent updates.
npm install scarletsframe-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to set up a Gulp task using scarletsframe-compiler to compile .sf files and serve with BrowserSync.
Install gulp and browser-sync as devDependencies.
Use require instead of import statements.
Check changelog for migration steps.
Use alternative template engines or avoid relying on it.
Change line endings to LF in your editor.
Run npm install scarletsframe-compiler --save-dev
Upgrade to gulp 4: npm install gulp@4 --save-dev
Use const sfcompiler = require('scarletsframe-compiler');Ensure you are not using browser-only APIs in .sf files that are processed server-side.