Open brambuz opened 1 year ago
Can you post the minified source code?
I suspect that your $(document).ready(function () ... )
was optimized into a shorthand version like $($ => ...)
or $(function($)...)
so your search fails.
See https://stackoverflow.com/questions/6004129/document-ready-shorthand
Describe the bug I have a JS file with "$(document).ready(function ()" and other functions, bundleconfig.json is:
but in the output file missing all "$(document).ready(function ()" file start with first function (see screenshot)
Visual Studio Community 2022 Version 17.5.3 Bundler and Minifier ver 2.9.9
Expected behavior min file with all part of original js file
Screenshots original file JS:
min file:
thank you for your help