import fs from "fs" ; import path from "path" ; const pathToCss = path . join ( process . cwd ( ) , "/src/css/index.css" ) ; export default function css ( ) { return fs . readFileSync ( pathToCss , "utf8" ) ; }