Questions tagged [weyland]

Weyland is Durandal's cross-platform, NodeJS-based build tool, designed for optimized web deploy.

When you deploy a Durandal application, you often want to build the source files into a set of packages that are optimized for web deploy. Weyland is Durandal's cross-platform, NodeJS-based build tool, designed for that purpose. http://durandaljs.com/documentation/Building-with-Weyland/

12 questions
4
votes
1 answer

Weyland build fails for DurandalAuth 2.0.1

There's a pretty spectacular example a DurandalJS based, ASP.NET MVC 5 backed SPA over at: https://durandalauth.azurewebsites.net/ There's a problem with it, though, is the Weyland powered optimization fails for Visual Studio's Post-Build events…
Oliver Kane
  • 888
  • 1
  • 6
  • 23
4
votes
1 answer

Durandal Weyland/Requirejs optimizer with kendo ui dataviz

I'm building an app with Durandal to bundle with PhoneGap. When I'm trying to run the weyland optimizer I'm running into some issues. The build and optimization runs fine without any errors (I'm using requirejs as optimizer), but when I run the…
aup
  • 800
  • 7
  • 19
1
vote
0 answers

Migrating from weyland.js to grunt.js

I have a legacy asp.net + durandal.js app that is using weyland as a build optimizer. We are trying to upgrade to grunt to use something newer, but I can't get it to generate minified js build file correctly. I have the following weyland-config…
magro
  • 11
  • 1
1
vote
0 answers

Running a durandal app with the main-built file results does not work

I am having some problems with the optimized code that weyland generates. Here is what I did so far: This is my project structure: This is my weyland-config file: exports.config = function(weyland) { weyland.build('main') .task.uglifyjs({ …
aleczandru
  • 5,319
  • 15
  • 62
  • 112
1
vote
0 answers

Building Durandal and Breeze with Weyland produces main-built.js which fails on deps (dependencies) undefined

I'm trying to build a Durandal project that uses Breeze 1.4.6 with the Weyland tool. So far I've succeeded in the task and a main-built.js is generated. However, when I run the main-built.js like this:
Tommi Gustafsson
  • 1,860
  • 4
  • 17
  • 20
1
vote
1 answer

Durandal optimization using weyland doesn't work with requirejs paths

I've developed a SPA website using great HotTowel template by John Papa. While doing optimizations I've confront a problem. I've simplified the situation to make the question more clear. There's some place that I use require to get a JavaScript…
Afshin Alizadeh
  • 218
  • 3
  • 10
1
vote
0 answers

Weyland output map file and optimize css?

How do I configure weyland to optimize the css files and also include the map file of the js in the output? My current config is: exports.config = function(weyland) { weyland.build('main') .task.jshint({ include: 'App/**/*.js', exclude:…
Cine
  • 4,255
  • 26
  • 46
0
votes
1 answer

Problem building with weyland on Azure Dev Ops

I have an app built with Durandal and use Weyland to build it. I have Weyland installed globally and when I run the command weyland build -c "path\to\config" locally it works and results in the following output info jshint Linting 6 files. info…
Jonas Stawski
  • 6,682
  • 6
  • 61
  • 106
0
votes
1 answer

Using Linq.js with Durandal/Require.js

I have done the following setup: Added the following script tag: Configure linq.js in the main.js requirejs.config({ paths: { 'text': '../Scripts/text', 'durandal': '../Scripts/durandal', …
Alwyn
  • 8,079
  • 12
  • 59
  • 107
0
votes
1 answer

durandaljs - weyland building in bat file

I'm a little confused about something. I'm trying to use weyland to do a build and am having some issues adding weyland build to bat file. It seems like after weyland executes... it tells me it created the main-built.js file however, the script…
Shaunt
  • 183
  • 1
  • 3
  • 11
0
votes
1 answer

Durandal Weyland optimizations doesn't handle the require function

I've found out that weyland optimizer replaces the paths in the javascript files with their real values. But it doesn't replace the paths used in middle of the code using require function. For example: require('myscripts/mymodule',…
mehrandvd
  • 8,806
  • 12
  • 64
  • 111
0
votes
1 answer

Durandal weyland optimizations doesn't work while using multiple projects

My project is broken into several projects. One project is the main, and the others are for business domains. Project.Main Project.BusinessDomain1 Project.BusinessDomain2 As the weyland is applied to the Project.Main and it's the only project…
mehrandvd
  • 8,806
  • 12
  • 64
  • 111