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

what's the meaning of this process.env.TEST_IE,what's the expected value at runtime? #3804

Closed
yulodl opened this issue Mar 15, 2021 · 5 comments
Labels

Comments

@yulodl
Copy link

yulodl commented Mar 15, 2021

if (!window.File || process.env.TEST_IE) {

"stack": [
              "ReferenceError: process is not defined",
              "webpack://gaf/node_modules/ant-design-vue/es/upload/Upload.js:80:26 process",
              "webpack://gaf/node_modules/vue/dist/vue.common.prod.js:6:11211 apply",
              "webpack://gaf/node_modules/vue/dist/vue.common.prod.js:6:12995 He",
              "webpack://gaf/node_modules/vue/dist/vue.common.prod.js:6:11211 apply",
              "webpack://gaf/node_modules/vue/dist/vue.common.prod.js:6:34200 He",
              "webpack://gaf/node_modules/ant-design-vue/es/vc-upload/src/AjaxUploader.js:194:17 $emit"
            ],

image

@close-issue-app
Copy link

Your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue, thank you!

为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 issue 助手 来创建 issue 以方便我们定位错误。谢谢配合!

@lei40251
Copy link

lei40251 commented Apr 4, 2021

一样的问题,求教 怎么解决的?

@yulodl
Copy link
Author

yulodl commented Apr 5, 2021

一样的问题,求教 怎么解决的?

new webpack.EnvironmentPlugin(['TEST_IE']) ...

@lei40251
Copy link

lei40251 commented Apr 5, 2021

一样的问题,求教 怎么解决的?

new webpack.EnvironmentPlugin(['TEST_IE']) ...

thanks

@github-actions
Copy link

github-actions bot commented Apr 6, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants