MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / callback

Function callback

tests/unit/broccoli/default-packager/external-test.js:41–49  ·  view source on GitHub ↗
(tree, options)

Source from the content-addressed store, hash-verified

39 customTransformsMap.set('amd', {
40 files: ['vendor/auth0-js.js', 'vendor/auth0-lock.js', 'vendor/auth0-lock-passwordless.js'],
41 callback(tree, options) {
42 const stew = require('broccoli-stew');
43
44 return stew.map(tree, (content, relativePath) => {
45 const name = options[relativePath].as;
46
47 return `${name} was transformed`;
48 });
49 },
50 processOptions() {},
51 options: {
52 'vendor/auth0-js.js': {

Callers 4

eachAddonCommandMethod · 0.85
help-test.jsFile · 0.85
cli-test.jsFile · 0.85
useFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…