ArkScript-lang / ArkScript-lang/website

Fix postcss config: purgecss has been disabled for now

未关闭
#1 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
HTML
星标
0
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

Because of the following error

```
Error: error building site: POSTCSS: failed to transform "main.css" (text/css): TypeError: purgecss is not a function
```

I commented out

https://github.com/ArkScript-lang/website/blob/master/config/postcss.config.js#L8-L64

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先打开 config/postcss.config.js,重现网站在转换 main.css 时失败的构建过程。对照项目的 PostCSS 和 PurgeCSS 配置检查被注释掉的 purgecss 部分;当 purgecss 启用后不再出现报告的错误且网站构建成功时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
css, javascript
领域
build-system, documentation
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。