Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

修复windows环境运行等问题 #39

Merged
merged 2 commits into from
Jun 27, 2019

Conversation

dean16930
Copy link
Contributor

  1. 修复windows环境支持问题;
  2. 由webpack插件清空dist目录,优化执行脚本,各司其职;

2. 由webpack插件清空dist目录,优化执行脚本;
const nodeExternals = require('webpack-node-externals')
const paths = require('./paths')
const isDev = process.env.NODE_ENV === 'development'

const plugins = [
new CleanWebpackPlugin(),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不要把CleanWebpackPlugin加进来,你现在加在webpack.server.js中,如果我是先build client端的结果,你会在build server端的时候把client端的结果删除的

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已经移除

@zhangyuang zhangyuang merged commit db82ee8 into zhangyuang:master Jun 27, 2019
@zhangyuang
Copy link
Owner

@all-contributors please add @deancn175 for bug

@allcontributors
Copy link
Contributor

@zhangyuang

I've put up a pull request to add @deancn175! 🎉

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants