3
votes

I am using ASP.NET MVC, and in one of the Razor view I have to include the script using CDN

<script src="//unpkg.com/babel-polyfill@process"></script>

I am getting the following error

CS0103: The name 'process' does not exist in the current context

I tried using @@ instead of @, but it did not work.

1
I see proCess and proGRess. Maybe thats the issue here? - VDWWD

1 Answers

6
votes

solved by the following line.

<script src="//unpkg.com/babel-polyfill@('@')process"></script>