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后文件路径好像不对 #43
Comments
你需要修改webpack.prod.config.js里的output.publicPath参数 |
你这里是你们的github地址,我改成本地路径,可是js文件和chunk.js文件过多,index_prod.html这里的引入文件是不是也要改啊,新手谢谢。 |
我看到下面的模板了,我试试。 |
/dist/为什么配置github地址???这个文档最好说下,,不然不知道怎么改 |
为什么我使用npm run build,,走的webpack.dev.config.js的配置,不是webpack.prod.config |
走dev的话就不会编译打包了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
npm run build后产生的index_prod.html和webpack配置的打包生产的/dist/目录下的文件不对应,这是webpack dev配置有问题嘛,还是我的操作不对呀?
The text was updated successfully, but these errors were encountered: