Questions tagged [dojo-build]

Questions about Dojo Build system, allowing to merge multiple modules into single files, therefore creating compact release.

Dojo build system allows to merge multiple Javascript modules into single files, and inline CSS imports. It is used for creating release distributions, which contains a few big files instead of a few hundred small modules.

The documentation about Dojo build:

65 questions
1
vote
0 answers

Skipping dependencies with dojo build

I have .profile.js file with next string: ... layers: { boot: true, customBase: true, "dojo/dojo": { "app/ONEFILE" } and after build its join over thousands files in this build, how can I skip it and join only specified files excluding all…
IvanM
  • 2,913
  • 2
  • 30
  • 30
1
vote
1 answer

Making a custom build in dojo 1.7.2

I need some help please with my Dojo 1.7.2 custom build - the build works fine but returns an error in the browser. Here's my profile file: dependencies = { layers: [ { // This is a specially named layer,…
0
votes
1 answer

Dojo build system doesn't know what to do with the "paths" property in my config

I have the following AMD config for my project : var amdconfig = { baseUrl: __AMD_CONFIG_BASE_URL__, packages: [ {name: "loader", location: "./samples/lib/requirejs"}, {name: "dojo", location: "./samples/lib/dojo"}, {name: "dojox",…
John Slegers
  • 45,213
  • 22
  • 199
  • 169
0
votes
1 answer

dojo 1.10 custom build

I am trying to create a custom dojo build, using dojo sdk 1.10 I have the following directory structure - app build.profile.js dojo dijit dojox util myapp A.js B.js package.json myapp.profile.js both…
super_user
  • 143
  • 6
0
votes
1 answer

dojo app - caching static content such as imgs/css

Im working on and existing dojo application which is requesting the same static content on every page change. Is there a way to configure the application so this content is cached?.... i.e so every http request has cache control headers?
blu10
  • 534
  • 2
  • 6
  • 28
0
votes
1 answer

Dojo Build Tool

error(311) Missing dependency. module: app/ui/module/Widget1; dependency: appui/module/Widget2 The Dojo build tool does not take into consideration the configuration provided in the "paths" property of the Profile object I have coded "paths"…
VIVEK SHAH
  • 21
  • 3
0
votes
1 answer

Why does dojo require firebug after a dojo build?

I am trying to figure out why, after building a dojo application into a single layer does dojo still include the extra file for dojo/_firebug/firebug? It does not download the file in Chrome on Windows 7 on a desktop PC, however, it does download it…
twoLeftFeet
  • 693
  • 1
  • 5
  • 25
0
votes
0 answers

dojo module dependency(AMD) graph using build

would like to know how to create modular dependent graphs using dojo build system.added below lines in project main profile.js file. …
angel
  • 5
  • 3
0
votes
1 answer

Dojo build doesn't include dojo/dom, dom/when, dojo/dom-class and about 100 other modules

I have a problem with my build in Dojo. It does build, and most of all widgets seems to be included in dojo.js after the build. But when I test the built project it still loads about 100 files on demand. I think the common denominator for the files…
johan
  • 3
  • 3
0
votes
0 answers

dojo build for mvc project

Im trying to create a custom build for an application, my project is in mvc with no root js file,now am trying to build all javascript files into one new js file with dojo version 1.9.3. Build is success but when am trying to load the application…
angel
  • 5
  • 3
0
votes
2 answers

How do I make a build profile reference modules that are within a "black box" library layer?

The tutorials got me going with the Dojo build system. However I'm left with a question that'll make or break the possibility of deploying a fully built release in my case. It is possible that the tutorial explains it, but that I didn't get it.…
Mathias Dolidon
  • 3,775
  • 1
  • 20
  • 28
0
votes
1 answer

I've just compiled some dojo files together: How do I call a function inside the anonymous wrapper?

I'm compiling some of my dojo stuff for the first time today. Just for simplicity while fighting this beast, I compiled everything I had (except dojo.js) into this one file called all.js. But in all.js, I have an entry point that's totally sealed in…
Isaac Bolinger
  • 7,328
  • 11
  • 52
  • 90
0
votes
1 answer

Dojo build issues if require is used conditionally to load another module in one layer which requires modules already included in the first layer

I have a scenario where I am trying to build dojo and my app into one single file by adding everything to one single layer. However, in dojo's gfx/render the renderer is determined dynamically and a require statement is used to get the module for…
Tarun Gehlaut
  • 1,292
  • 10
  • 16
0
votes
1 answer

Allow Dojo require() to fail

I have a require statement that loads in a layer that I build with Dojo. I want to be able to test my code without having to build my Dojo source every time. However, if I don't build and the require statement is called, it fails with a 404…
Asher Johnson
  • 751
  • 1
  • 7
  • 10
0
votes
1 answer

Dojo Error Reporting Strangeness - dojoBuild incorrectly saying 'function is undefined'

Super weird issue. Basically, everything works fine development mode but when I run it through dojoBuild, a specific modal is sometimes working and sometimes isn't. When it's not, it says 'undefined' is not a function, insinuating 'define' is…
streetlight
  • 5,968
  • 13
  • 62
  • 101