vue.js - vue-cli-service build --target lib disable "use strict"
问题描述
IE11 does not work correctly with "use strict". But I do not know how to remove it, because I understand that this happens at the time of assembly. But I didn't find any answers in the vue documentation. The command that I run: cross-env NODE_ENV=production vue-cli-service build --target lib --name testLib ./src/index.js --skip-plugins @vue/cli-plugin-eslint
I get an error in IE11: Using multiple property definitions in strict mode is prohibited enter image description here
How can I resolve this error?
解决方案
推荐阅读
- android - 使用 MotionLayout 和 MotionScene 更改 FAB 背景颜色
- reactjs - 如何通过单击按钮动态设置组件。(反应)
- python-3.x - 如果满足条件,则从 df 中删除行
- python - 如何在 Panda 中对列中的值进行分组并在另一列中获取相应的值?
- vue.js - Vue.js VSCode Vetur Emmet 和 Scaffold Snippets 无法识别
- selenium - 如何在 TestNG 测试中维护重复的断言块
- javascript - .hover 的替代方案,可在移动设备上启用更好的功能
- java - 如果 DatePickerDialog 被取消,如何禁用 TimePickerDialog?
- python - 将对象作为 *args 元组传递会导致该类的所有实例都被传递
- javascript - 如何使网格环绕其内容?