From 1d7b7520f5ce39a090f88eee0e4f054790395adb Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Fri, 2 Jun 2017 22:52:41 +0200 Subject: [PATCH] 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. --- tools/gulp/packaging/inline-resources.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gulp/packaging/inline-resources.ts b/tools/gulp/packaging/inline-resources.ts index 6d4002089ec..6516e5b9b86 100644 --- a/tools/gulp/packaging/inline-resources.ts +++ b/tools/gulp/packaging/inline-resources.ts @@ -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(' ')}"]`; }); }