MCPcopy Create free account
hub / github.com/browserify/static-module / done

Function done

index.js:148–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146 })();
147
148 function done () {
149 output.write(src.slice(pos));
150 if (opts.sourceMap) {
151 var map = sourcemapper.generateMap({
152 source: opts.inputFilename || 'input.js',
153 includeContent: true
154 });
155 if (inputMap) {
156 var merged = mergeSourceMap(inputMap, map);
157 output.write('\n' + convertSourceMap.fromObject(merged).toComment() + '\n');
158 } else {
159 output.write('\n//# sourceMappingURL=' + map.toUrl() + '\n');
160 }
161 }
162 output.end();
163 }
164 }
165
166 function error (msg) {

Callers 1

finishFunction · 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…