Skip to content

Conversation

@shawtung
Copy link
Contributor

使rimraf不删除dist目录本身, 否则微信开发者工具无法继续使用, 必须重新打开项目.

@shawtung shawtung changed the title 优化script.build 优化scripts.build May 16, 2018
@aOrz
Copy link
Contributor

aOrz commented May 17, 2018

在 script.build 里面直接 rimraf 不好,tempalte/build/build.js 里面也有 rimraf 可以顺手都合并到 build.js 里面

@shawtung
Copy link
Contributor Author

@aOrz 我看原来就是写在scripts里所以就在原地改了. 这样的话我把script里的rimraf去掉, 统一加在build.js里好了.

@aOrz aOrz changed the base branch from master to develop May 17, 2018 08:53
@aOrz aOrz merged commit 0fc536a into mpvue:develop May 17, 2018
@shawtung shawtung deleted the shawtung-patch-package.json_script branch May 17, 2018 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants