MCPcopy
hub / github.com/imcuttle/mometa / apply

Method apply

packages/editor/webpack/index.js:258–271  ·  view source on GitHub ↗
(compiler)

Source from the content-addressed store, hash-verified

256 }
257
258 apply(compiler) {
259 if (this.getWebpackMajor(compiler) === 5) {
260 require('please-upgrade-node')({
261 name: pkg.name,
262 engines: {
263 node: '>= 12.20.0'
264 }
265 })
266 }
267
268 this.applyForEditor(compiler)
269 this.applyForRuntime(compiler)
270 this.applyForServer(compiler)
271 }
272}

Callers 12

fixtureFunction · 0.45
handlerFunction · 0.45
entry.tsFile · 0.45
injectGlobalFunction · 0.45
cssFunction · 0.45
fixtureFunction · 0.45
applyForEditorMethod · 0.45
applyForRuntimeMethod · 0.45
applyForReactRuntimeMethod · 0.45
buildMethod · 0.45
fixtureFunction · 0.45

Calls 4

applyForEditorMethod · 0.95
applyForRuntimeMethod · 0.95
applyForServerMethod · 0.95
getWebpackMajorMethod · 0.80

Tested by 3

fixtureFunction · 0.36
fixtureFunction · 0.36
fixtureFunction · 0.36