My Angular 6 / Visual studio, приложение .net Framework 4.6.2 прекрасно работает в Chrome, но не отображается в IE 11. У меня возникла проблема с Google и согласно [ Ошибка совместимости IE 11 с использованием Angular 5 uncommented и npm устанавливает в соответствии с рекомендациями.
также согласно: [ Angular 2/4/5 не работает в IE11 , добавлен
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script src="https://npmcdn.com/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
в index.htmlпод src и index.cshtml под Home.
Когда я делаю «Проверка элемента» в IE, я получаю в консоли:
SCRIPT1010: Expected identifier
File: vendor.js, Line: 174472, Column: 9
vendor.js from lines 174466 - 174474 gives:
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
// License for the specific language governing permissions and limitations
// under the License.
Object.defineProperty(exports, "__esModule", { value: true });
174472 - >function* Forward(target) {
yield* target;
}
Пожалуйста, укажите, что делать?
PS Это мой tsconfig.json:
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2017",
"dom"
]
}
}