Bug Tracker

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#14859 closed bug (fixed)

Custom Build: custom AMD name doesn't work

Reported by: jens.simon80@… Owned by:
Priority: blocker Milestone: 1.11.1/2.1.1
Component: build Version: 2.1.0
Keywords: Cc:
Blocked by: Blocking:


When doing a custom build using a different AMD module name like

grunt custom --amd=""


grunt custom --amd="customname"


], function( jQuery ) {

won't be removed. This means that when used with RequireJS

define(['customname'], function (jQuery) {
    // ...

doesn't return the jQuery object because it defines always the name "exports/amd" for the module.

Change History (2)

comment:1 Changed 3 years ago by Timmy Willison

  • Resolution set to fixed
  • Status changed from new to closed

Build: Fix AMD option for custom builds

Fixes #14859

Changeset: 984f77a930aa322bcc277762303370d7a2a4667a

comment:2 Changed 3 years ago by timmywil

  • Component changed from unfiled to build
  • Milestone changed from None to 1.11.1/2.1.1
  • Priority changed from undecided to blocker
Note: See TracTickets for help on using tickets.