This commit is contained in:
2026-04-12 01:02:14 +08:00
parent 509487f155
commit 9b053e302b
14085 changed files with 2680009 additions and 12 deletions

View File

@@ -0,0 +1,22 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, /**
* Depending on if Rspack is active or not, returns the appropriate set of
* webpack-compatible api.
*
* @returns webpack bundler
*/ "default", {
enumerable: true,
get: function() {
return getWebpackBundler;
}
});
const _webpack = require("next/dist/compiled/webpack/webpack");
const _getrspack = require("./get-rspack");
function getWebpackBundler() {
return process.env.NEXT_RSPACK ? (0, _getrspack.getRspackCore)() : _webpack.webpack;
}
//# sourceMappingURL=get-webpack-bundler.js.map