
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
@18f/identity-build-sass
Advanced tools
Stylesheet compilation utility with reasonable defaults and fast performance.
@18f/identity-build-sass
Stylesheet compilation utility with reasonable defaults and fast performance.
Why use it?
sass-embedded
, and the Rust-based Lightning CSS for autoprefixing and minification.Default behavior includes:
NODE_ENV
environment variable.node_modules
as a loaded path for Sass compilation.main.css.scss
becomes main.css
).@18f/identity-design-system
and @uswds/uswds
.Invoke the included build-sass
executable with the source files and any relevant command flags.
npx build-sass path/to/sass/*.scss
Flags:
--out-dir
: The output directory--watch
: Run in watch mode, recompiling files on change--load-path
: Include additional path in Sass path resolution--verbose
(-v
): Output verbose debugging detailsbuildFile
Compiles a given Sass file.
function buildFile(
file: string,
options: {
outDir: string,
optimize: boolean,
sassCompiler: SassAsyncCompiler,
...sassOptions: SassOptions<'sync'>,
},
): Promise<SassCompileResult>;
This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.
All contributions to this project will be released under the CC0 dedication. By submitting a pull request or issue, you are agreeing to comply with this waiver of copyright interest.
FAQs
Stylesheet compilation utility with reasonable defaults and fast performance.
We found that @18f/identity-build-sass demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 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.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.