Skip to content

Sweet and sour

Compare
Choose a tag to compare
@voltidev voltidev released this 02 Aug 18:30
· 499 commits to master since this release

v0.9.0

  • [FEATURE] The viewer allows downloading selected assets
  • [FEATURE] The viewer allows copying selected assets' code to the clipboard
  • [FEATURE] The viewer now shows original and optimized file sizes
  • [BREAKING ENHANCEMENT] stripPath is now true by default

This release contains a potentially breaking change. In previous versions of the addon stripPath was set to false by default. It means that some of your asset IDs could look like {{svg-jar "icons/filled/twitter"}}. When stripPath is true the same helper will look like this {{svg-jar "twitter"}}.

If you prefer the old behavior (with directories in the asset ID), just add the code below to the ember-cli-build.js:

let app = new EmberApp(defaults, {
  svgJar: {
    stripPath: false
  }
});