MCPcopy
hub / github.com/meteor/meteor / _getSourceProcessorSet

Method _getSourceProcessorSet

tools/isobuild/compiler-plugin.js:1228–1250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1226 }
1227
1228 _getSourceProcessorSet() {
1229 if (! this._sourceProcessorSet) {
1230 buildmessage.assertInJob();
1231
1232 const isopack = this.unibuild.pkg;
1233 const activePluginPackages = compiler.getActivePluginPackages(isopack, {
1234 uses: this.unibuild.uses,
1235 isopackCache: this.processor.isopackCache
1236 });
1237
1238 this._sourceProcessorSet = new buildPluginModule.SourceProcessorSet(
1239 isopack.displayName(), { hardcodeJs: true });
1240
1241 _.each(activePluginPackages, otherPkg => {
1242 otherPkg.ensurePluginsInitialized();
1243 this._sourceProcessorSet.merge(otherPkg.sourceProcessors.compiler, {
1244 arch: this.processor.arch,
1245 });
1246 });
1247 }
1248
1249 return this._sourceProcessorSet;
1250 }
1251
1252 // Returns a map from package names to arrays of JS output files.
1253 static computeJsOutputFilesMap(sourceBatches) {

Callers 1

makeResourceSlotMethod · 0.95

Calls 3

eachMethod · 0.80
displayNameMethod · 0.45
mergeMethod · 0.45

Tested by

no test coverage detected