Skip to content

Commit

Permalink
chore(*): fix styles output path & update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lyngai committed Aug 3, 2023
1 parent cb3d2f2 commit 78a4ea1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ npm install cherry-markdown --save

如果需要开启 `mermaid` 画图、表格自动转图表功能,需要同时添加`mermaid``echarts`包。

目前**Cherry**推荐的插件版本为`[email protected]``mermaid@8.11.1`
目前**Cherry**推荐的插件版本为`[email protected]``mermaid@9.4.3`

```bash
# 安装mermaid依赖开启mermaid画图功能
yarn add mermaid@8.11.1
yarn add mermaid@9.4.3
# 安装echarts依赖开启表格自动转图表功能
yarn add [email protected]
```
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ npm install cherry-markdown --save

If you need to enable the functions of `mermaid` drawing and table-to-chart, you need to add `mermaid` and `echarts` packages at the same time.

Currently, the plug-in version **Cherry** recommend is `[email protected]` `mermaid@8.11.1`.
Currently, the plug-in version **Cherry** recommend is `[email protected]` `mermaid@9.4.3`.

```bash
# Install mermaid, enable mermaid and drawing function
yarn add mermaid@8.11.1
yarn add mermaid@9.4.3
# Install echarts, turn on the table-to-chart function
yarn add [email protected]
```
Expand Down
2 changes: 1 addition & 1 deletion build/rollup.base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default {
}),
scss({
// Filename to write all styles to
fileName: IS_PRODUCTION ? 'dist/cherry-markdown.min.css' : 'dist/cherry-markdown.css',
fileName: IS_PRODUCTION ? 'cherry-markdown.min.css' : 'cherry-markdown.css',

// Determine if node process should be terminated on error (default: false)
failOnError: true,
Expand Down
3 changes: 0 additions & 3 deletions dist/dist/cherry-markdown.css

This file was deleted.

3 changes: 0 additions & 3 deletions dist/dist/cherry-markdown.min.css

This file was deleted.

0 comments on commit 78a4ea1

Please sign in to comment.