mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 03:25:52 +01:00
fix postcss api change (breaking semver?)
This commit is contained in:
parent
4b2a47fac7
commit
bfcb23ee74
@ -112,8 +112,8 @@ async function buildCss() {
|
||||
const cssMainFile = path.join(projectDir, "src/ui/web/css/main.css");
|
||||
const preCss = await fs.readFile(cssMainFile, "utf8");
|
||||
const cssBundler = postcss([postcssImport]);
|
||||
const postCss = await cssBundler.process(preCss, {from: cssMainFile});
|
||||
await fs.writeFile(path.join(targetDir, "brawl.css"), postCss, "utf8");
|
||||
const result = await cssBundler.process(preCss, {from: cssMainFile});
|
||||
await fs.writeFile(path.join(targetDir, "brawl.css"), result.css, "utf8");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user