google / google/closure-compiler
Vue.js variable __VUE_SSR_CONTEXT__ is undeclared
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 1.2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 6
Description
Got a error.
After add jscomp_off: "checkVars" option, vuejs died with erorr: `TypeError: a is undefined`.
```
ERROR in app.js from Closure Compiler
The compiler is waiting for input via stdin.
stdin:127: ERROR - variable __VUE_SSR_CONTEXT__ is undeclared
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
^^^^^^^^^^^^^^^^^^^
stdin:1044: ERROR - variable WXEnvironment is undeclared
var inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;
^^^^^^^^^^^^^
stdin:2428: ERROR - variable Proxy is undeclared
typeof Proxy !== 'undefined' &&
^^^^^
```
Contributor guide
Assessment
This issue has not been assessed yet.