JSPM

ember-cli-atomizer

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q19985F
  • License MIT

Use Atomizer to generate Atomic CSS from your ember templates.

Package Exports

  • ember-cli-atomizer

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ember-cli-atomizer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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>
  }