Explorar el Código

Trim out the header

Steven Silvester hace 5 años
padre
commit
684c812636
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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}');`;
     });