#14859 closed bug (fixed)
Custom Build: custom AMD name doesn't work
Reported by: | 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.
Change History (2)
comment:1 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 9 years ago by
Component: | unfiled → build |
---|---|
Milestone: | None → 1.11.1/2.1.1 |
Priority: | undecided → blocker |
Note: See
TracTickets for help on using
tickets.
Build: Fix AMD option for custom builds
Fixes #14859