Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8764129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T15:57:08+00:00 2026-06-13T15:57:08+00:00

I am adding the following ScriptBundle in BundleConfig: bundles.Add(new ScriptBundle(~/bundles/javascript).Include( ~/Scripts/jquery-1.*, ~/Scripts/load-image.min.js, ~/Scripts/bootstrap.*, ~/Scripts/bootstrap-image-gallery.*,

  • 0

I am adding the following ScriptBundle in BundleConfig:

    bundles.Add(new ScriptBundle("~/bundles/javascript").Include(
        "~/Scripts/jquery-1.*",
        "~/Scripts/load-image.min.js",
        "~/Scripts/bootstrap.*",
        "~/Scripts/bootstrap-image-gallery.*",
        "~/Scripts/my.global.js"));

This is referenced at the end of my _Layout.cshtml as:

@Scripts.Render("~/bundles/javascript")

When debugging I notice that the output of this script rendering is:

<script src="/Scripts/jquery-1.8.2.js"></script>
<script src="/Scripts/bootstrap.js"></script>
<script src="/Scripts/bootstrap-image-gallery.js"></script>
<script src="/Scripts/my.global.js"></script>

Notice the load-image.min.js script is missing? What I want is to use that same minified script whether I’m debugging or not. Under release conditions the script is included in the bundled JS file.

I assume it’s seeing the ‘min’, looking for an un-minified version, not finding one, then deciding what’s best is to ignore it entirely. Brilliant. If I make a copy of load-image.min.js, call it load-image.js and then reference it in BundleConfig as “load-image.*” I find it is included in both configurations but what’s the point of having to do that?

I assume I’m missing something here. I don’t have the un-minified version and I frankly don’t care about it. It’s used by my Bootstrap image gallery plugin and nothing else. Any ideas out there?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T15:57:10+00:00Added an answer on June 13, 2026 at 3:57 pm

    This behavior has been improved (fixed) in the 1.1.0-alpha1 release. We moved all of the old default ignore list entries into a new DirectoryFilter ignore list that are only used when including search patterns like *.js which was the origional intent for this functionality. As a result this should no longer be an issue when you are including individual files explicitly.

    Note: the one place this might still be an issue is if you try to include something like jquery-{version}.min.js.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am still new to JQuery and BluePrint. BluePrint recommends adding the following lines
I have the following code adding an ActionListener to a JTextField: chatInput.addMouseListener(new java.awt.event.MouseAdapter() {
I am using the following code for adding full permission for the image files
I am adding a button into UITableView by doing the following // Add checkOut
I have the following JQuery statement and it is adding the class 'current' but
Why is the following adding an Insert (of the new Address) to the DataContent
I've been manually adding the following line every time I create a new user
I'm adding the following code to add an overlay $(function () { { $('#overlay').fadeIn('fast',
the following plotLine object on the xAxis is adding lines to both panes how
In the following code segment when built I keep breaking when adding the OnClickListener

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.