bclozel/spring-resource-handling

build failure with gulp

Closed this issue · 1 comments

When building the project the build fails in the client module. I have reduced the error to executing 'gulp optimize-and-copy-css' inside the client directory. I get the following error:

[20:39:34] Using gulpfile ~/git/spring-resource-handling/client/gulpfile.js
[20:39:34] Starting 'optimize-and-copy-css'...

events.js:85
throw er; // Unhandled 'error' event
^
Error: Broken @import declaration of "/home/mkoch/git/spring-resource-handling/client/src/lib/github/twbs/bootstrap@3.3.4/css/bootstrap.css"

Somehow I can't find where this error is thrown actually.

Is there some dependenc I miss?

Applying the following patch seems to help:

diff --git a/client/src/css/main.css b/client/src/css/main.css
index 3921ef7..6a100ed 100644
--- a/client/src/css/main.css
+++ b/client/src/css/main.css
@@ -1,4 +1,4 @@
-@import url("../lib/github/twbs/bootstrap@3.3.4/css/bootstrap.css");
+@import "../lib/github/twbs/bootstrap@3.3.4/css/bootstrap.css";

#logo {
width: 100%;