Skip to content

Commit 0b12a7d

Browse files
Tim Lindvalltimlindvall
Tim Lindvall
authored andcommitted
docs: Add new options to ember-app readme.
Documents `broccoliConcat` and `appClasses`.
1 parent 31afe26 commit 0b12a7d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/@css-blocks/ember-app/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ The following options can be passed as options to the `css-blocks` property in y
2929
* `analysisOpts` - Template analysis options. You probably don't need to set these.
3030
* `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.
3131
* `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`.
32+
* `broccoliConcat` - Options that control the behavior of broccoli-concat, which is used to concatenate CSS files together by ember-app during postprocess. If this is set to false, broccoli-concat will *not* run and you'll need to add additional processing to add the CSS Blocks compiled content to your final CSS build artifact.
33+
* `appClasses` - List of classes that are used by application CSS and might conflict with the optimizer. You should add any short class names (~5 characters) to this list so the optimizer doesn't use these when building the CSS Blocks compiled output. This is a convenience alias for `optimization.rewriteIdents.omitIdents.class[]`. It has no effect if optimization is disabled.
3234

3335
## Common Gotchas
3436

0 commit comments

Comments
 (0)