Selaa lähdekoodia

Trim out the header

Steven Silvester 5 vuotta sitten
vanhempi
commit
684c812636
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      buildutils/src/ensure-package.ts

+ 1 - 1
buildutils/src/ensure-package.ts

@@ -129,7 +129,7 @@ export async function ensurePackage(
 
   // Template the CSS index file.
   if (cssImports && fs.existsSync(path.join(pkgPath, 'style/base.css'))) {
-    let cssIndex = CSS_HEADER;
+    let cssIndex = CSS_HEADER.trim();
     cssImports.forEach(cssImport => {
       cssIndex += `\n@import url('~${cssImport}');`;
     });