compile-css 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -62,7 +62,7 @@ module.exports = {
|
|
|
62
62
|
| `name` | `string` | 否 | 标识名称,用于控制台日志输出,方便区分不同 preset 的编译信息 |
|
|
63
63
|
| `scss` | `string` | 是 | SCSS 源文件目录。递归扫描该目录下所有非 `_` 开头的 `.scss` 文件作为入口文件编译 |
|
|
64
64
|
| `content` | `string` / `string[]` | 否 | TailwindCSS content 路径。格式与 `tailwind.config.js` 的 `content` 一致,支持 glob 模式。未设置时完全使用 `tailwind.config.js` 的配置。设置了则会与之合并 |
|
|
65
|
-
| `entry` | `string` / `string[]` | 否 |
|
|
65
|
+
| `entry` | `string` / `string[]` | 否 | `content` 目录文件变化时重新编译的样式文件,默认 `['common.css']` |
|
|
66
66
|
| `temp` | `string` | 是 | 编译临时目录。SCSS 先编译为普通 CSS 存放到此,再交给 PostCSS 处理。**每次启动时自动清空** |
|
|
67
67
|
| `dist` | `string` | 是 | 最终输出目录。经过 tailwindcss、autoprefixer、cssnano 处理后的 CSS 文件输出到这里 |
|
|
68
68
|
| `scssIgnore` | `string[]` | 否 | SCSS 忽略列表。支持文件名、相对路径或正则表达式。被忽略的文件不会作为入口文件编译 |
|