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
3
votes
1 answer

How to use require({cache:{ in dojo layers?

After reading dojo-build tag I've found out many problems that people have with customizing the builds, so I've thought of creating the build myself instead. But I wasn't able to find a reference for syntax used while constructing Dojo AMD layers,…
Web Devie
  • 1,207
  • 1
  • 13
  • 30
3
votes
1 answer

Dojo custom build getting browser errors due to missing resources

I've been struggling with learning the AMD based Dojo build system. So far I haven't been able to get a build that is usable without getting load errors in the browser (FF). I have questions about how to manage the build. My build profile file has a…
teaman
  • 469
  • 7
  • 18
3
votes
1 answer

dojo build - nls bundles, build fails unless bundles are in "dojo/dojo"?

This is my distillation of a build failure I was getting. The symptom was that when optimizing with shrinksafe my build would fail with the error: [exec] js: "#1(Function)#1(eval)", line 127: uncaught JavaScript runtime exception:…
djna
  • 54,992
  • 14
  • 74
  • 117
3
votes
1 answer

Dojo requesting already inlined Dijit templates --Google Closure build

I already asked this question on StackOverflow, the solution was supposed to have been patched in commits : 89bf2786e322323293f52917223aa24db7649951 and 783da4030bf9e727bfb4fc874b59f77521545264 But even after doing some extensive testing with…
m_vdbeek
  • 3,704
  • 7
  • 46
  • 77
3
votes
1 answer

Dojo Custom Build 1.6 into a single file

I've a problem trying to create a custom build on Dojo, I dont even know is it possible what I want.. I want to have a "single js file" loading all the components that i use across the application. so it doesnt load several files just one…
cesaregb
  • 765
  • 1
  • 11
  • 27
3
votes
1 answer

Problems interning strings for custom Dojo build

Trying to figure out why I can't seem to intern strings in my dojo build. My layer files get created correctly, but the code associated with each of the individual dijits doesn't get interned properly. Here is a piece of portion of the build output…
wrdaigle
  • 43
  • 3
2
votes
1 answer

Dojo layer don't includes all essentials

I have a sample script which…
Tommi
  • 3,199
  • 1
  • 24
  • 38
2
votes
0 answers

Upgrading DoJo from 1.5.1 to 1.7.3 anf facing issue with building profile

I have a dojo build profile that builds two layers- one layer dojo/dojo layer and another layer for my app files. In version 1.5 to build the dojo, basically for bare utilities for browser detection, these js files are…
imdad ali
  • 21
  • 1
2
votes
1 answer

Dojo require loading number instead of module

In my dojo app i am trying to dynamically load module which works fine until i build my code. Once code is build using dojo build system somehow the same module loads as an interger (specifically 3) rather than the module itself. Below is the code…
Suraj
  • 451
  • 1
  • 9
  • 17
2
votes
1 answer

Custom dojo build with dojo-util package from bower

When retrieving the dojo-util package from bower, the package is installed in a directory dojo-util/.., but when running the command line to create a custom build, it complains that the main.js file could not be found. The file the compiler search…
kitensei
  • 2,510
  • 2
  • 42
  • 68
2
votes
0 answers

How to create profile js file for Dojo build 1.10

I am new in Dojo & got a enhancement project, which needs to be upgraded from Dojo 1.4 to Dojo 1.10 version. There is one package inside which all .js, .css(themes) & .html(templates) files resides. I have gone through the official document of Dojo…
Ashutosh
  • 21
  • 4
2
votes
0 answers

Creating Dojo Build Layer from Bootstrap Files, Preferably without Exporting the Entire Dojo Library

I have a simple Dojo 1.8 AMD web app. It has a couple of bootstrap files for different MVC views, and 3 custom modules. I want to build the two bootstrap files to include their relative dependencies. File structure - js - tournament_organiser …
voidstate
  • 7,937
  • 4
  • 40
  • 52
2
votes
1 answer

How to exclude files from Dojo's Build System?

I'm following the official documentation page about the topic but I cannot configure it to ignore .txt files. I have a all.profile.js on the root of my project: var profile = (function(){ return { basePath: "./", releaseDir:…
Bill_BsB
  • 314
  • 3
  • 14
2
votes
1 answer

Is it possible to use Dojo build without modifying JS files?

Is it possible to use Dojo build without the need to modify JavaScript files? The article dgrid and Dojo Nano Build provides the instruction to create the build, but it requires adding the following line into JavaScript file, which initializes the…
Web Devie
  • 1,207
  • 1
  • 13
  • 30
2
votes
0 answers

Dojo >= 1.7 build - remove files merged/inlined by process.

The Dojo build does 2 basic things: it merges JS modules into layer files and flatteden NLS files it inlines CSS imports But everything is copied to the release folder. As difference to the question Dojo 1.7 custom build - How to remove unused…
Danubian Sailor
  • 1
  • 38
  • 145
  • 223