MCPcopy Create free account
hub / github.com/glslify/glslify / updateSharedTransforms

Function updateSharedTransforms

transform.js:42–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 }
41
42 function updateSharedTransforms () {
43 ;[]
44 .concat(opts.post || [])
45 .concat(opts.p || [])
46 .forEach(function (post) {
47 post = Array.isArray(post) ? post : [post]
48 var name = post[0]
49 var opts = post[1] || {}
50 sharedPosts.push({ name: name, opts: opts, base: process.cwd() })
51 })
52
53 return []
54 .concat(opts.transform || [])
55 .concat(opts.t || [])
56 .filter(function (tr) {
57 var name = tr[0]
58 var opts = tr[1] || {}
59 if (!opts.post) return true
60 sharedPosts.push({ name: name, opts: opts, base: process.cwd() })
61 })
62 }
63
64 var d = duplexify()
65 var out = from(function () {})

Callers 1

transform.jsFile · 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…