Skip to content

Commit aeda660

Browse files
Woedenazemmiegit
andauthored
Update build/postcss.config.mjs
Co-authored-by: emmiegit <[email protected]>
1 parent b33ee51 commit aeda660

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/postcss.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ export default (ctx) => {
1717

1818
const nodeEnv = ctx.env;
1919
const dev = nodeEnv === "development";
20-
const browserslist = fs.readFileSync(path.resolve(ctx.file.dirname, "../../.browserslistrc"), "utf8").trim();
20+
const browserslistpath = path.resolve(ctx.file.dirname, "../../.browserslistrc");
21+
const browserslist = fs.readFileSync(browserslistpath, "utf8").trim();
2122

2223
const globalDataOptions = {
2324
files: [ path.join( ctx.file.dirname,"/parts/root.css" ) ]

0 commit comments

Comments
 (0)