Skip to content
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

打包的问题 npm run build #445

Closed
wants to merge 2 commits into from
Closed

Conversation

whoma
Copy link

@whoma whoma commented Dec 5, 2018

打包会报
building for production...cp: no such file or directory: static/*
目录下,无 static,故无法 copy
解决方案,新建 static, 或者注释 cp('-R', 'static/*', assetsPath)

@bailicangdu
Copy link
Owner

这样修改后,所有的静态资源可以正常加载吗

@whoma
Copy link
Author

whoma commented Jan 11, 2019

修改了, 这样应该就可以了。

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.

None yet

2 participants