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

Function filesFrom

test/create-webpack-app/init/generators.test.js:82–85  ·  view source on GitHub ↗
(actions)

Source from the content-addressed store, hash-verified

80};
81
82const filesFrom = (actions) =>
83 actions
84 .filter((action) => action.type === "generate-files")
85 .map((action) => path.basename(action.path));
86
87const packagesFrom = (actions) =>
88 actions.find((action) => action.type === "install-dependencies").packages;

Callers 1

generators.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected