ember-cli-atomizer
v0.1.0
Published
Use Atomizer to generate Atomic CSS from your ember templates.
Downloads
2
Maintainers
Readme
ember-cli-atomizer
Use Atomizer to generate Atomic CSS from your ember templates.
Installation
ember install ember-cli-atomizer
Usage
By default this addon will process app/templates/**/*.hbs
to generate
Atomic CSS rules using atomizer
. Generated css will be imported into
vendor.css
.
You can specify options using the ember-cli-atomizer
config property
in ember-cli-build.js
:
'ember-cli-atomizer': {
// Directory or directories of templates.
// 'app/templates' by default.
dir: <string|string[]>,
// Pattern to match template files. [Glob](https://github.com/isaacs/node-glob) is used.
// '**/*.hbs' by default.
pattern: <string>,
// [Atomizer](https://github.com/acss-io/atomizer) config (optional). [example-config.js](https://github.com/acss-io/atomizer/blob/master/examples/example-config.js)
// `undefined` by default.
config: <object>
}