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

Unsure about the best way to fully separate my Dojo layers

Hey so I'm finding the documentation around building dojo a little hazy around layers. For my Dojo 1.7+ application I would like a layer that contains only Dojo, and a layer that only contains my code, so I can place the appropriate…
Andrew Daniel
  • 688
  • 1
  • 5
  • 7
2
votes
1 answer

Dojo Custom build in 1.8.1

When we create a custom build for dojo, it also internalizes the html templates for various widgets into the js file for that widget. For EnhancedGrid's Filter plugin, the above was not the case till 1.8.0 and was fixed in 1.8.1. I have already…
2
votes
1 answer

How can I optimize this custom dojo 1.7.2 build

I am working on my first project which uses a dojo 1.7.2 component, and only need a vertical slider widget. I was able to create a custom build which is supposed to include only the modules needed for my stated dependencies. Using the following…
Rick Suggs
  • 1,582
  • 1
  • 15
  • 30
1
vote
0 answers

Dojo build with xstyle, issue with Font Awasome with ASCII conversion

I am using xstyle plugin into my dojo build process. All css is concatenated and minified, but I have notice that it translate ASCII reference like this #test { content: "\f000" } to this: #test { content: ""; } I need instead to keep the…
GibboK
  • 71,848
  • 143
  • 435
  • 658
1
vote
1 answer

Can't figure out dojo build system at all, minimal working example?

Maybe I'm just stupid, but I can't understand this article at all: https://dojotoolkit.org/documentation/tutorials/1.10/build/ Is there a working example or better article anywhere? I am to the point of googling other RequireJS-based build tools…
wmakley
  • 1,233
  • 9
  • 18
1
vote
2 answers

How to exclude .js.map from build?

I need to exclude from my build file ending/containing .js.map and .js.uncompressed.js I am trying using some regex with no success ignore: function(t) { return /\.js.map$/.test(t) }, miniExclude: function(t)…
GibboK
  • 71,848
  • 143
  • 435
  • 658
1
vote
1 answer

DOJO Build how to create a layer?

I have the following profile for a DOJO custom build (boilerplate from https://github.com/csnover/dojo-boilerplate). I need to create a layer for my custom code with result as a single .js file for my custom code. At the moment the code take all…
GibboK
  • 71,848
  • 143
  • 435
  • 658
1
vote
0 answers

Setting package in dojo build configuration

I am using dojo 1.10 and got 'missing dependency' errors when creating the build. my profile.js: var profile = (function(){ return { ...... packages:[{ name: "dojo", location: "dojo" },{ …
1
vote
0 answers

DOJO custom build for DOJOX Gantt Chart

I tried to create a dojo custom build for DOJO (version 1.9.3) with the following profile. var profile = (function() { return { releaseDir: "../release", basePath: "../../", action: "release", mini: true, selectorEngine: "lite", …
1
vote
1 answer

Using Sizzle in Dojo

I've seen some questions (replace dojo.query with Sizzle?) regarding using Sizzle as a selector engine in dojo, and know it's possible, but can't seem to find any tutorials or information on how to go about it. I know in your build.profile.js file,…
streetlight
  • 5,968
  • 13
  • 62
  • 101
1
vote
2 answers

How do I keep Dojo development productive and still deploy using Dojo Build?

I am brand new to the Dojo Build utility, have Googled my fingers numb, and am still really confused on how to have a productive and efficient development environment and still take advantage of the benefits of custom builds. I use MyEclipse for…
El Gordito
  • 11
  • 1
1
vote
2 answers

Dojo Boilerplate Build Warnings

Today I cloned the Dojo Boilerplate and I'm running build.sh for the first time. Messages like "warn(216) dojo/has plugin resource could not be resolved during build-time" are showing up in the console, and I wonder how much these warnings matter. …
Robert Claypool
  • 4,262
  • 9
  • 50
  • 61
1
vote
1 answer

Burning package remapping into dojo build

I am developing a set of modules for others to use using dojo 1.7. All modules are AMD modules and using relative paths within the package. My modules will need to be loaded cross domain, and not interfere with or care about the version of dojo…
1
vote
1 answer

Dojo build fails on IE9 when loading layer from HTML header: property 'dir' is undefined

I've made a dojo build, but I wanted the flexibility when enabling/disabling the build, so I've tried to load in in