Open dmolesUC opened 6 years ago
As a workaround, I used sassc to compile main.scss
:
$ mkdir ui-library/css
$ sassc ui-library/scss/main.scss > ui-library/css/main.css
$ gulp build
[12:56:21] Using gulpfile ~/Work/stash/stash_engine/gulpfile.js
[12:56:21] Starting 'build'...
[12:56:21] Starting 'clean'...
[12:56:21] Finished 'clean' after 30 ms
[12:56:21] Starting 'scss-lint'...
[12:56:21] Starting 'js-lint'...
[12:56:21] Starting 'sass'...
[12:56:21] Starting 'useref'...
[12:56:21] Starting 'icons'...
[12:56:21] Starting 'copy-images'...
[12:56:21] Starting 'copy-fonts'...
[12:56:21] Finished 'js-lint' after 240 ms
[12:56:21] Finished 'icons' after 393 ms
[12:56:21] Finished 'copy-fonts' after 394 ms
[12:56:22] Finished 'sass' after 1.22 s
[12:56:22] Finished 'copy-images' after 1.44 s
[12:56:23] Finished 'useref' after 1.9 s
[12:56:23] Finished 'scss-lint' after 2.36 s
[12:56:23] Starting 'copy-to-assets'...
[12:56:23] Finished 'copy-to-assets' after 21 ms
[12:56:23] Finished 'build' after 2.41 s
$ open public/demo/index.html
👍
Following the instructions in the UI Library README,
gulp build
failed trying to find a nonexistentmain.css
file in a nonexistentcss
directory. Maybe there's a missing step somewhere to compile SASS to CSS?