build: properly inline multiple styles (#4911)

* Recently we moved the inline script to the packaging directory and we cleaned up some logic. At this point the multiple style files inlining broke accidentally.
* We joined the different styles using a comma inside of the inlined stylesheet (while we were trying to create a array). Instead it would be just easier to concatenate the styles using a space.
This commit is contained in:
Paul Gschwendtner
2017-06-02 22:52:41 +02:00
committed by mmalerba
parent a4aed09979
commit 1d7b7520f5
+1 -1
View File
@@ -40,7 +40,7 @@ function inlineStyles(fileContent: string, filePath: string) {
.map(url => join(dirname(filePath), url))
.map(path => loadResourceFile(path));
return `styles: ["${styleContents.join(',')}"]`;
return `styles: ["${styleContents.join(' ')}"]`;
});
}