MCPcopy
hub / github.com/webpack/webpack / createCompilation

Function createCompilation

test/Compilation.unittest.js:6–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4const webpack = require("../lib/index");
5
6const createCompilation = () => {
7 const compiler = webpack({ mode: "none", entry: "./nope.js" });
8 const params = compiler.newCompilationParams();
9 return compiler.createCompilation(params);
10};
11
12describe("Compilation", () => {
13 describe("deleteAsset / renameAsset reverse index", () => {

Callers 1

Calls 3

newCompilationParamsMethod · 0.80
createCompilationMethod · 0.80
webpackFunction · 0.50

Tested by

no test coverage detected