Skip to content

Commit b5610e2

Browse files
committed
feat: modify json to none
1 parent 4468cfb commit b5610e2

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

release/README_cn-zh.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -98,19 +98,21 @@ PLUGIN_NAME="wp-react-plugin"
9898

9999
接著到設定您要打包的目錄,只有被寫入在 `includes` array 內的檔案會被複製 (會遞規複製裡面的檔案&目錄),例如
100100

101-
```json
101+
```
102102
// .release-it.cjs
103-
104-
includes: [
105-
'inc',
106-
'js/dist', // 只複製 js/dist,而不會複製 js/src
107-
'required_plugins',
108-
'composer.json', // 需要這個是因為,打包過程中會執行 composer install --no-dev
109-
'composer.lock', // 需要這個是因為,打包過程中會執行 composer install --no-dev
110-
'index.php',
111-
'plugin.php',
112-
'README.md'
113-
]
103+
{
104+
...
105+
includes: [
106+
'inc',
107+
'js/dist', // 只複製 js/dist,而不會複製 js/src
108+
'required_plugins',
109+
'composer.json', // 需要這個是因為,打包過程中會執行 composer install --no-dev
110+
'composer.lock', // 需要這個是因為,打包過程中會執行 composer install --no-dev
111+
'index.php',
112+
'plugin.php',
113+
'README.md'
114+
]
115+
}
114116
```
115117

116118
### 3. 發布

0 commit comments

Comments
 (0)