We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72a4735 commit 2d356f1Copy full SHA for 2d356f1
src/v2/guide/deployment.md
@@ -52,7 +52,7 @@ module.exports = {
52
#### Browserify
53
54
- 在运行打包命令时将 `NODE_ENV` 设置为 `"production"`。这等于告诉 `vueify` 避免引入热重载和开发相关的代码。
55
-- 对打包后的文件进行一次全局的 [envify](https://github.com/hughsk/envify) 转换。这使得压缩工具能清除调 Vue 源码中所有用环境变量条件包裹起来的警告语句。例如:
+- 对打包后的文件进行一次全局的 [envify](https://github.com/hughsk/envify) 转换。这使得压缩工具能清除掉 Vue 源码中所有用环境变量条件包裹起来的警告语句。例如:
56
57
``` bash
58
NODE_ENV=production browserify -g envify -e main.js | uglifyjs -c -m > build.js
0 commit comments