@rsbuild/core
Advanced tools
(() => { | ||
var __webpack_modules__ = { | ||
744: (module, __unused_webpack_exports, __nccwpck_require__) => { | ||
555: (module, __unused_webpack_exports, __nccwpck_require__) => { | ||
"use strict"; | ||
const { HtmlWebpackChildCompiler } = __nccwpck_require__(525); | ||
const { HtmlWebpackChildCompiler } = __nccwpck_require__(360); | ||
const compilerMap = new WeakMap(); | ||
@@ -307,3 +307,3 @@ class CachedChildCompilation { | ||
}, | ||
525: (module) => { | ||
360: (module) => { | ||
"use strict"; | ||
@@ -477,3 +477,3 @@ class HtmlWebpackChildCompiler { | ||
}, | ||
835: (module) => { | ||
16: (module) => { | ||
"use strict"; | ||
@@ -497,3 +497,3 @@ module.exports = {}; | ||
}, | ||
518: (module) => { | ||
223: (module) => { | ||
"use strict"; | ||
@@ -519,3 +519,3 @@ module.exports = function (err) { | ||
}, | ||
621: (module, __unused_webpack_exports, __nccwpck_require__) => { | ||
910: (module, __unused_webpack_exports, __nccwpck_require__) => { | ||
"use strict"; | ||
@@ -546,3 +546,3 @@ const { AsyncSeriesWaterfallHook } = __nccwpck_require__(408); | ||
}, | ||
716: (module) => { | ||
315: (module) => { | ||
const voidTags = [ | ||
@@ -615,3 +615,3 @@ "area", | ||
}, | ||
185: (module, __unused_webpack_exports, __nccwpck_require__) => { | ||
850: (module, __unused_webpack_exports, __nccwpck_require__) => { | ||
"use strict"; | ||
@@ -622,9 +622,9 @@ const promisify = __nccwpck_require__(23).promisify; | ||
const path = __nccwpck_require__(928); | ||
const { CachedChildCompilation } = __nccwpck_require__(744); | ||
const { CachedChildCompilation } = __nccwpck_require__(555); | ||
const { createHtmlTagObject, htmlTagObjectToString, HtmlTagArray } = | ||
__nccwpck_require__(716); | ||
const prettyError = __nccwpck_require__(518); | ||
const chunkSorter = __nccwpck_require__(835); | ||
__nccwpck_require__(315); | ||
const prettyError = __nccwpck_require__(223); | ||
const chunkSorter = __nccwpck_require__(16); | ||
const getHtmlRspackPluginHooks = | ||
__nccwpck_require__(621).getHtmlRspackPluginHooks; | ||
__nccwpck_require__(910).getHtmlRspackPluginHooks; | ||
class HtmlRspackPlugin { | ||
@@ -1588,4 +1588,4 @@ constructor(userOptions = {}) { | ||
__nccwpck_require__.ab = __dirname + "/"; | ||
var __webpack_exports__ = __nccwpck_require__(185); | ||
var __webpack_exports__ = __nccwpck_require__(850); | ||
module.exports = __webpack_exports__; | ||
})(); |
(() => { | ||
"use strict"; | ||
var __webpack_modules__ = { | ||
737: (module, __unused_webpack_exports, __nccwpck_require__) => { | ||
module.exports = __nccwpck_require__(123)["default"]; | ||
290: (module, __unused_webpack_exports, __nccwpck_require__) => { | ||
module.exports = __nccwpck_require__(896)["default"]; | ||
}, | ||
123: (__unused_webpack_module, exports, __nccwpck_require__) => { | ||
896: (__unused_webpack_module, exports, __nccwpck_require__) => { | ||
var __webpack_unused_export__; | ||
@@ -12,3 +12,3 @@ __webpack_unused_export__ = { value: true }; | ||
var _path = _interopRequireDefault(__nccwpck_require__(928)); | ||
var _utils = __nccwpck_require__(358); | ||
var _utils = __nccwpck_require__(681); | ||
function _interopRequireDefault(obj) { | ||
@@ -183,3 +183,3 @@ return obj && obj.__esModule ? obj : { default: obj }; | ||
}, | ||
358: (module, exports, __nccwpck_require__) => { | ||
681: (module, exports, __nccwpck_require__) => { | ||
module = __nccwpck_require__.nmd(module); | ||
@@ -721,4 +721,4 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
__nccwpck_require__.ab = __dirname + "/"; | ||
var __webpack_exports__ = __nccwpck_require__(737); | ||
var __webpack_exports__ = __nccwpck_require__(290); | ||
module.exports = __webpack_exports__; | ||
})(); |
(() => { | ||
"use strict"; | ||
var __webpack_modules__ = { | ||
705: (__unused_webpack_module, exports, __nccwpck_require__) => { | ||
664: (__unused_webpack_module, exports, __nccwpck_require__) => { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -123,3 +123,3 @@ exports.transformFiles = | ||
}, | ||
964: (__unused_webpack_module, exports, __nccwpck_require__) => { | ||
289: (__unused_webpack_module, exports, __nccwpck_require__) => { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -134,3 +134,3 @@ exports.normalModuleLoaderHook = | ||
const lite_tapable_1 = __nccwpck_require__(408); | ||
const helpers_1 = __nccwpck_require__(705); | ||
const helpers_1 = __nccwpck_require__(664); | ||
const compilerHookMap = new WeakMap(); | ||
@@ -317,3 +317,3 @@ const getCompilerHooks = (compiler) => { | ||
const path_1 = __nccwpck_require__(928); | ||
const hooks_1 = __nccwpck_require__(964); | ||
const hooks_1 = __nccwpck_require__(289); | ||
Object.defineProperty(exports, "getCompilerHooks", { | ||
@@ -320,0 +320,0 @@ enumerable: true, |
@@ -21,1 +21,2 @@ /** | ||
export type { RsbuildDevServer } from './server/devServer'; | ||
export type { StartServerResult } from './server/helper'; |
@@ -6,3 +6,2 @@ import type { CompilerOptions, Runner } from './type'; | ||
isBundleOutput: (modulePath: string) => boolean; | ||
runInNewContext?: boolean; | ||
readFileSync: (path: string) => string; | ||
@@ -9,0 +8,0 @@ dist: string; |
@@ -65,5 +65,23 @@ import type { Compiler, MultiCompiler } from '@rspack/core'; | ||
export type InspectConfigOptions = { | ||
/** | ||
* Inspect the config in the specified mode. | ||
* Available options: 'development' or 'production'. | ||
* @default 'development' | ||
*/ | ||
mode?: RsbuildMode; | ||
/** | ||
* Enables verbose mode to display the complete function | ||
* content in the configuration. | ||
* @default false | ||
*/ | ||
verbose?: boolean; | ||
/** | ||
* Specify the output path for inspection results. | ||
* @default 'output.distPath.root' | ||
*/ | ||
outputPath?: string; | ||
/** | ||
* Whether to write the inspection results to disk. | ||
* @default false | ||
*/ | ||
writeToDisk?: boolean; | ||
@@ -70,0 +88,0 @@ }; |
{ | ||
"name": "@rsbuild/core", | ||
"version": "1.2.17", | ||
"version": "1.2.18", | ||
"description": "The Rspack-based build tool.", | ||
@@ -49,3 +49,3 @@ "homepage": "https://rsbuild.dev", | ||
"dependencies": { | ||
"@rspack/core": "1.2.7", | ||
"@rspack/core": "1.2.8", | ||
"@rspack/lite-tapable": "~1.0.1", | ||
@@ -52,0 +52,0 @@ "@swc/helpers": "^0.5.15", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
3458246
0.04%81031
0.04%28
7.69%