MCPcopy
hub / github.com/HenrikJoreteg/hjs-webpack / buildFilename

Function buildFilename

index.js:165–172  ·  view source on GitHub ↗
(pack, hash, ext)

Source from the content-addressed store, hash-verified

163}
164
165function buildFilename (pack, hash, ext) {
166 return [
167 pack.name,
168 // extract-text-plugin uses [contenthash] and webpack uses [hash]
169 hash ? (ext === 'css' ? '[contenthash]' : '[hash]') : pack.version,
170 ext || 'js'
171 ].join('.')
172}
173
174function checkRequired (opts) {
175 var props = ['out', 'in']

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected