From 81ddf9b700bc48a1f8e472209f080f9c1d9a9b09 Mon Sep 17 00:00:00 2001 From: Piotr Russ Date: Wed, 18 Nov 2020 23:26:45 +0100 Subject: rm node_modules --- node_modules/webpack/lib/webpack.web.js | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 node_modules/webpack/lib/webpack.web.js (limited to 'node_modules/webpack/lib/webpack.web.js') diff --git a/node_modules/webpack/lib/webpack.web.js b/node_modules/webpack/lib/webpack.web.js deleted file mode 100644 index 1f60eab..0000000 --- a/node_modules/webpack/lib/webpack.web.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - MIT License http://www.opensource.org/licenses/mit-license.php - Author Tobias Koppers @sokra -*/ -"use strict"; - -const Compiler = require("./Compiler"); -const WebEnvironmentPlugin = require("./web/WebEnvironmentPlugin"); -const WebpackOptionsApply = require("./WebpackOptionsApply"); -const WebpackOptionsDefaulter = require("./WebpackOptionsDefaulter"); - -const webpack = (options, callback) => { - new WebpackOptionsDefaulter().process(options); - - const compiler = new Compiler(); - compiler.options = new WebpackOptionsApply().process(options, compiler); - new WebEnvironmentPlugin( - options.inputFileSystem, - options.outputFileSystem - ).apply(compiler); - if (callback) { - compiler.run(callback); - } - return compiler; -}; -module.exports = webpack; - -webpack.WebpackOptionsDefaulter = WebpackOptionsDefaulter; -webpack.WebpackOptionsApply = WebpackOptionsApply; -webpack.Compiler = Compiler; -webpack.WebEnvironmentPlugin = WebEnvironmentPlugin; -- cgit v1.2.3