Reputation: 19401
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.
Upvotes: 5
Views: 963
Reputation: 19401
Solved like this.
<script src="//unpkg.com/babel-polyfill@('@')process"></script>
Upvotes: 9