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

Function webpack

test/api/cli-plugin-interop/mock-webpack.js:5–9  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

3const realWebpack = require("webpack");
4
5const webpack = (options) => {
6 globalThis.__capturedWebpackOptions = options;
7
8 return { options };
9};
10
11webpack.cli = realWebpack.cli;
12webpack.version = realWebpack.version;

Callers 1

createCompilerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected