<script src="/static/js/babel.min.js"></script>
<script src="/static/js/polyfill.min.js"></script>
<script src="/static/js/common.js" type="text/babel" data-presets="es2015, stage-2"></script>
我正在如上所述使用babel-standalone在IE11 +上使用ES6 +。
但是在IE控制台中,严格模式无法正常工作,因此我想在babel上将其删除。
如何更改选项?