@forge/bundler
7.0.0-next.97.0.0-next.10
out/webpack.js~
out/webpack.jsModified+3−3
Index: package/out/webpack.js
===================================================================
--- package/out/webpack.js
+++ package/out/webpack.js
@@ -1,7 +1,9 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-exports.WebpackBundler = exports.getCompiler = exports.handleWebpackCompilationResult = void 0;
+exports.WebpackBundler = void 0;
+exports.handleWebpackCompilationResult = handleWebpackCompilationResult;
+exports.getCompiler = getCompiler;
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");
@@ -33,13 +35,11 @@
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();