Sweet and sour
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 nowtrue
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
}
});