Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
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.
@css-blocks/ember
Advanced tools
CSS Blocks Support for Ember. Apps should also install @css-blocks/ember-app.
An ember-cli addon for Ember applications using CSS Blocks applications, addons, and engines that author stylesheets using CSS Blocks.
This addon is only part of the Ember build pipeline for CSS Blocks! Any application that consumes CSS Blocks from itself, an addon, or an engine will need the @css-blocks/ember-app
addon as a dependency.
@css-blocks/ember-app
as a dependency.ember build
. See the README for `@css-blocks/ember-app for more instructions.The following options can be passed as options to the css-blocks
property in your application's ember-cli-build.js
.
output
- <string>
Changes the filename where css-block's styles are written into the app/styles
directory during the build. If this is set, the styles are never concatenated automatically with app/styles/app.css
.aliases
- <object>
The keys of this object import aliases accept values that are absolute paths to a directory containing CSS Block files. E.g. {myblocks: path.resolve(__dirname, '../blocks')}
would cause @block foo from 'myblocks/header.block.css';
to import the header.block.css
file in the ../blocks
directory.analysisOpts
- Template analysis options. You probably don't need to set these.parserOpts
- Options passed to the CSS Blocks parser and compiler. If not set, these options are loaded automatically from a css-blocks.config.js
file. Using a CSS Blocks configuration file will allow other tools like the CSS Blocks command line (@css-blocks/cli
) to load the same options as your ember application.optimization
- Options passed to the Opticss optimizer. This can be used to selectively enable or disable specific optimizations or to explicitly disable all optimizations by setting the enable
option to false
.This section is devoted to common issues you might run into when working with this addon.
There's nothing here yet, but we'll add things here as the need arises.
FAQs
CSS Blocks Support for Ember. Apps should also install @css-blocks/ember-app.
We found that @css-blocks/ember demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
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.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.