MCPcopy Create free account
hub / github.com/webpack/webpack-cli / actionsFor

Function actionsFor

test/create-webpack-app/init/generators.test.js:76–80  ·  view source on GitHub ↗
(template, answers)

Source from the content-addressed store, hash-verified

74// The action list is built without running any action, so no project is written
75// and nothing is installed.
76const actionsFor = async (template, answers) => {
77 const generator = await generatorFor(template);
78
79 return generator.actions({ ...BASE_ANSWERS, ...answers });
80};
81
82const filesFrom = (actions) =>
83 actions

Callers 1

generators.test.jsFile · 0.85

Calls 1

generatorForFunction · 0.85

Tested by

no test coverage detected