Skip to main content

Bug Tracker

Side navigation

#14859 closed bug (fixed)

Opened March 06, 2014 10:30PM UTC

Closed March 07, 2014 02:57PM UTC

Last modified March 07, 2014 03:02PM UTC

Custom Build: custom AMD name doesn't work

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

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

grunt custom --amd=""

or

grunt custom --amd="customname"

the

define('exports/amd',[
	"../core"
], 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.

Attachments (0)
Change History (2)

Changed March 07, 2014 02:57PM UTC by Timmy Willison comment:1

resolution: → fixed
status: newclosed

Build: Fix AMD option for custom builds

Fixes #14859

Changeset: 984f77a930aa322bcc277762303370d7a2a4667a

Changed March 07, 2014 03:02PM UTC by timmywil comment:2

component: unfiledbuild
milestone: None1.11.1/2.1.1
priority: undecidedblocker