-
Usage said "you need to set uglifyOptions for preserve license comments.",
but when below code, I can uglify with preserve license comments. Why?
```
const path = require('path');
const UglifyJs…
-
I tried a couple of things with my limited knowledge but couldn't get anything to work.
I need to check if an icon has an underscore in its name "foo_bar.png" and if so, use the whole template and …
ghost updated
6 years ago
-
Did initial setup per instructions. Threw a handful of .png files into my source folder. When running the Grunt task this is the error I received.
-
So your plugin generates the following mixin. But your docs says nothing about `$sprite` variable. What is `$sprite` variable?
```
@mixin sprite($sprite) {
@include sprite-image($sprite);
@i…
-
DevDependencies
"devDependencies": {
"gm": "^1.17.0",
"grunt": "~0.4.2",
"grunt-spritesmith": "^2.20.0",
"phantomjs": "^1.9.12"
}
grunt sprite:icons
--Running "sprite:icons" (spri…
-
Right now, we load and swap svg images for our robot. This leads to unpredictability for when the image actually updates on the screen, and is not good network performance. We should put all the robot…
-
Hi, dear, Some wrong with my project. Please give me a hand. Code is just as follows:
```
TypeError: file.pipe is not a function
Pixels (E:\svn\HearthstoneWeb\web\v201707\node_modules\spritesmith\…
-
Getting the following with webpack `4.2.0`.
```
(node:68346) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
at Object.apply (xxxxxx/node_modules/webpack-spr…
-
After the last update, I have such an error:
```sh
$ git pull origin develop
$ docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d
```
```
Failed to load resource: the server …
-
My image folder has a total size of 5.91 MB and the generated image file has a size of 26.8 MB.
This is my gulp task
```javascript
gulp.task('sprite', function () {
var spriteData = gulp.src…