Opened 6 years ago

Closed 6 years ago

#16872 closed defect (worksforme)

custom build: dojo loading modules that's already in dojo/dojo layer

Reported by: iamFake Owned by: Rawld Gill
Priority: undecided Milestone: tbd
Component: BuildSystem Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description

building custom layer that's include such modules as dom-geometry, _base/lang and others... after loading dojo main layer (dojo/dojo), his also loading dom-geometry, dojo/window, _base/lang (but all these modules are in layer!), and others, in various combinations, depending on the what "require" comes first

Attachments (1)

provideDojoCfg.js (3.3 KB) - added by iamFake 6 years ago.
build config

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by iamFake

Attachment: provideDojoCfg.js added

build config

comment:1 Changed 6 years ago by iamFake

i'm changed the way of loading: i'm leave dojo/dojo layer empty and all dependencies moved to dojo/main, then add to config - deps variable with dojo/main. now after loading dojo.js, his download dojo/main and dojo/nls/main_ru.js and no other, so as i wanted... but it's still 3 files, not 1...

comment:2 Changed 6 years ago by Rawld Gill

Resolution: worksforme
Status: newclosed

I'm sorry, but I'm having trouble understanding the issue.

If you want just one file, put everything in the dojo/dojo layer...including the NLS bundles that you know you need (if you can know that).

Feel free to reopen with more explanation.

Note: See TracTickets for help on using tickets.