Skip to content

2.1.14 breaks build with jquery 2.1.0 #704

Closed
@adammiller

Description

@adammiller

I have a project that was using r.js v2.1.11 without problem that suddenly is having the jquery define call overloaded with a blank function when built with r.js v2.1.14.

This little guy right here is being written to the output file directly after jquery is included:

define("jquery", function(){});

Not good. If I manually delete that, everything works as it did back with r.js v2.1.11.

Here's my config:

// Set the require.js configuration for your application.
require.config({

  // Initialize the application with the main application file.
  deps: [
    'jquery',
    'main'
  ],

  paths: {
    // JavaScript folders.
    libs: '../libs',
    plugins: '../plugins',

    // Libraries.
    jquery: '../libs/jquery',
    Modernizr: '../libs/Modernizr',
    videojs: '../libs/video',
    backbone: '../libs/backbone',
    underscore: '../libs/underscore',
    easing: '../libs/easing',
    director: '../libs/director',
    soundmanager: '../libs/soundmanager2',

    transition: '../plugins/jquery.transition',
    modal: '../plugins/jquery.modal',
    deparam: '../plugins/jquery.deparam',
    slick: '../plugins/slick'
  },

  shim: {

    scrollTo: {
      deps: ['jquery']
    },

    modal: {
      deps: ['jquery', 'transition']
    },

    deparam: {
      deps: ['jquery']
    },

    slick: {
      deps: ['jquery']
    }
  }
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy