scissors 0.1.6 copy "scissors: ^0.1.6" to clipboard
scissors: ^0.1.6 copied to clipboard

outdatedDart 1 only

A CSS minifier / tree-shaker for AngularDart 1.x / Angular2.

Current development tree #

...

0.1.6 (2015-11-12) #

Bugfixes #

  • Fixed support of wildcard * CSS rules.

Features #

  • Added support for LTR/RTL-specific parts in scissors/permutations_transformer (see example/permutations).

0.1.5 (2015-11-12) #

Bugfixes #

  • Fixed base64 format in inline-image

Features #

  • Added experimental SVG optimization (poor-man heuristics, enabled in release, disable with optimizeSvg: false)
  • Added experimental PNG optimization relying on pngcrush (enabled in release, disable with optimizePng: false, provide path to pngcrush with pngCrushPath: path/to/pngcrush)
  • Added imageInlining setting to control image inlining inside CSS files, accepts values:
    • inlineAllUrls: inlines inline-image and url references
    • inlineInlinedImages: inlines inline-image only (default in release mode)
    • linkInlinedImages: rewrites inline-image references into url references (default in debug mode): images are not inlined.
    • disablePass: don't touch inline-image references (may produce invalid CSS).
  • Added experimental scissors/permutations_transformer transformer that generates locale-specific .js artefacts when using defer-loaded messages (package:intl).

0.1.4 (2015-10-30) #

Bugfixes #

  • Cleaner path resolution logic (easier to override)
  • Stricter regexp in recursive sass imports consumer

0.1.3 (2015-10-28) #

Features #

  • The transformer is now lazy by default, which speeds up startup time of pub serve (use scissors/eager_transformer to force eager transform)
  • Sass compilation supports Compass's inline-image helper to inline images.
  • Rebuilds .css files when any transitive .sass import is modified:
    • Requires pub serve --force-poll
    • The default (lazy) transformer will just invalidate stale resources, while scissors/eager_transformer will eagerly rebuild them.

0.1.2 (2015-10-26) #

Features #

  • Improved sassc integration:
    • Resolving ${FOO} environment variables in sasscPath and sasscArgs settings
    • Automatically set --load-path arguments with list of root directories, with clean fork point (path_resolver.dart)
    • Output css sourcemaps

0.1.1 (2015-10-23) #

Features #

  • Preliminary support for compiling *.scss and *.sass files with sassc.

0.1.0 (2015-10-22) #

Features #

  • Basic support for .css pruning based on companion .html template or inlined templates in companion .dart file (Angular1 and Angular2)
  • Support for ng-class and interpolated name fragments inside class in templates
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A CSS minifier / tree-shaker for AngularDart 1.x / Angular2.

Repository
View/report issues

License

unknown (LICENSE)

Dependencies

barback, code_transformers, crypto, csslib, html, intl, path, quiver, source_maps

More

Packages that depend on scissors