Alex-D / Trumbowyg

A lightweight and amazing WYSIWYG JavaScript editor under 10kB
https://alex-d.github.io/Trumbowyg
MIT License
4.03k stars 615 forks source link

Sprite-black/white scss not found #185

Closed ra100 closed 9 years ago

ra100 commented 9 years ago

I've got problem building trumbowyg from source (gulp build), sass-dist can't find imports @import "sprite-black"; @import "sprite-black-2x"; @import "sprite-white"; @import "sprite-white-2x";

Am I missing something?

Alex-D commented 9 years ago

Need to run gulp sprite once

I need to fix that...

ra100 commented 9 years ago

thanks, now it works, but I've had to first: npm vinyl-paths and npm gulp.spritesmith, I know that it should be installed during npm install phase, but somehow it didn't, and running it manually worked. Now I see that sprites task is in build task, but it takes time to execute and styles start sooner than sprites is done.

[08:18:13] Starting 'test-scripts'...
[08:18:14] Starting 'test-langs'...
[08:18:14] Starting 'test-plugins'...
[08:18:14] Starting 'sprites'...
[08:18:14] Starting 'styles'...
[08:18:18] Starting 'sass-dist'...
[08:18:19] Finished 'test-scripts' after 5.52 s
[08:18:19] Starting 'scripts'...
[08:18:20] trumbowyg.css all files 28.55 kB
[08:18:21] trumbowyg.js all files 39.85 kB
[08:18:21] trumbowyg.min.css all files 23.76 kB
[08:18:21] Finished 'styles' after 6.87 s
[08:18:21] Finished 'test-plugins' after 6.92 s
[08:18:21] Starting 'plugins'...
[08:18:21] trumbowyg.min.js all files 16.18 kB
[08:18:21] Finished 'scripts' after 2.48 s
[08:18:21] Finished 'sass-dist' after 2.84 s
[08:18:21] Finished 'plugins' after 160 ms
[08:18:22] Finished 'sprites' after 7.57 s
[08:18:22] Finished 'test-langs' after 7.76 s
[08:18:22] Starting 'langs'...
[08:18:22] Finished 'langs' after 168 ms
[08:18:22] Starting 'build'...
[08:18:22] Finished 'build' after 15 μs
Alex-D commented 9 years ago

Fix'd by #186 thanks to @ra100 :)