-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
script 命令优化 #34
base: master
Are you sure you want to change the base?
script 命令优化 #34
Conversation
为啥存在pipixia & bisheng? 你是不是应该WIP? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WIP?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
package.json 里面没有 bisheng 的, bisheng 这个命令来自 pipixia 这个包。后续的文档的打包发版也会切换过来。项目的打包简单点使用现有的 gulp 体系,复杂点看看是否再弄一个类似 ant-tools 的包。
@@ -23,17 +23,16 @@ | |||
"license": "MIT", | |||
"main": "dist/snake-design.js", | |||
"scripts": { | |||
"start": "yarn build-dll && webpack-dev-server --config webpack/webpack.dev.conf.js --colors", | |||
"build": "tsc -p tsconfig.json && webpack --config webpack/webpack.prod.conf.js", | |||
"start": "bisheng start -c ./site/bisheng.config.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anyexinglu 这里的 bisheng 来自 pipixia 这个包~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
soga
借助 pipixia 来优化 script 命令, 使站点的可移植性更强。修改了如下几个命令。