@forge/bundler
6.2.1-experimental-04cc2b96.2.2-next.0
out/webpack.js~
out/webpack.jsModified+3−3
Index: package/out/webpack.js
===================================================================
--- package/out/webpack.js
+++ package/out/webpack.js
@@ -1,9 +1,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-exports.WebpackBundler = void 0;
-exports.handleWebpackCompilationResult = handleWebpackCompilationResult;
-exports.getCompiler = getCompiler;
+exports.WebpackBundler = exports.getCompiler = exports.handleWebpackCompilationResult = void 0;
const tslib_1 = require("tslib");
const path_1 = tslib_1.__importDefault(require("path"));
const webpack_1 = tslib_1.__importDefault(require("webpack"));
const cli_shared_1 = require("@forge/cli-shared");
@@ -35,11 +33,13 @@
logger.warn(warning.message);
}
}
}
+exports.handleWebpackCompilationResult = handleWebpackCompilationResult;
function getCompiler(config) {
return (0, webpack_1.default)(config);
}
+exports.getCompiler = getCompiler;
function getNodeModuleNames(stats) {
const { modules } = stats.toJson({ modules: true });
if (modules) {
const filteredModuleNames = new Set();