Merge pull request #1395 from 2betop/cxd

iconfont 复制到 sdk
This commit is contained in:
RickCole 2021-01-14 17:24:40 +08:00 committed by GitHub
commit 0f21a59a0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,12 +13,14 @@ rm -rf sdk && fis3 release publish-sdk -c
cp -r node_modules/monaco-editor/min/vs/base/browser sdk/thirds/monaco-editor/min/vs/base
# 生成去掉变量的 css
./node_modules/.bin/postcss sdk/sdk.css > sdk/sdk-ie11.css
./node_modules/.bin/postcss sdk/cxd.css > sdk/cxd-ie11.css
./node_modules/.bin/postcss sdk/dark.css > sdk/dark-ie11.css
./node_modules/.bin/postcss sdk/sdk.css >sdk/sdk-ie11.css
./node_modules/.bin/postcss sdk/cxd.css >sdk/cxd-ie11.css
./node_modules/.bin/postcss sdk/dark.css >sdk/dark-ie11.css
cp ./lib/helper.css sdk/helper.css
cp examples/demo.html sdk/
cp examples/static/iconfont.css sdk/
cp examples/static/iconfont.eot sdk/
# 生成 .d.ts 文件
./node_modules/.bin/tsc --allowJs --declaration