問題タブ [impromptu]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
23 参照

jquery - Issue in reading resource file in Js file when using BundleTable.EnableOptimizations in MVC

I am using 'jQuery Impromptu' for prompt a user for input, below is the code

I use a .cshtml file (Resource for reading resource file

When running the application, it will show 'Yes' and 'No' text in buttons in the prompt, but when I enable Optimization (using BundleTable.EnableOptimizations = true) it shows error:

Minification failed. Returning unminified contents.

How can I solve this issue?