When the device's system is Android 5.1, if he is imported, even if it is not used, the Weex page will be stuck in the loading state and cannot be rendered in only production environment(uglify and mangle). In the development environment, everything is normal.
To Reproduce
First, install he.
npm i he
Then, import it.
<template>
...
</template>
<script>
import he from 'he'
</script>
Finally, run npm run build, and the bug will appear.
Environment
Device: 魅族 魅蓝2
OS: Android 5.1
Version 28
Build from source yes
Expected behavior
render normal
Screenshots
Additional context
Maybe this problem has something to do with #2563 #2616 #2519 #2213
Describe the bug
When the device's system is Android 5.1, if he is imported, even if it is not used, the Weex page will be stuck in the loading state and cannot be rendered in only production environment(uglify and mangle). In the development environment, everything is normal.
To Reproduce
First, install
he
.Then, import it.
Finally, run
npm run build
, and the bug will appear.Environment
Expected behavior
render normal
Screenshots
Additional context
Maybe this problem has something to do with #2563 #2616 #2519 #2213