Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#16702 closed defect (invalid)

build not produced if external module is used in declare()

Reported by: Martin Minka Owned by: Rawld Gill
Priority: undecided Milestone: 1.9
Component: BuildSystem Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description

Having code like this (for testing of this issue you need only to include 'https://apis.google.com/js/client.js' to any module you will include in build)

define([
    "dojo/_base/declare",
    'https://apis.google.com/js/client.js'
], function (declare) {
  // code here
});

I get this error when building:

error(311) Missing dependency.
	module: my/storage/GoogleDrive; dependency: https://apis.google.com/js/client.js

Change History (2)

comment:1 Changed 7 years ago by Rawld Gill

Milestone: tbd1.9
Resolution: invalid
Status: newclosed

The builder does process off-host files. All source must be in a reachable file system.

comment:2 Changed 7 years ago by Martin Minka

I don't think it should be processed, but define linking to external resource is valid AMD. Builder should require the external file and not end with missing.

Such external resources start always with: http, https or

Note: See TracTickets for help on using tickets.