@rspack-debug/browser 1.7.2 → 2.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BuildInfo.d.ts +3 -3
- package/dist/Chunk.d.ts +3 -3
- package/dist/ChunkGraph.d.ts +2 -2
- package/dist/Chunks.d.ts +2 -2
- package/dist/Compilation.d.ts +3 -3
- package/dist/Compiler.d.ts +4 -2
- package/dist/ConcatenatedModule.d.ts +1 -1
- package/dist/ContextModule.d.ts +1 -1
- package/dist/Diagnostics.d.ts +1 -1
- package/dist/Entrypoint.d.ts +1 -1
- package/dist/ExportsInfo.d.ts +1 -1
- package/dist/ExternalModule.d.ts +1 -1
- package/dist/FileSystem.d.ts +1 -1
- package/dist/Module.d.ts +3 -3
- package/dist/ModuleGraph.d.ts +1 -1
- package/dist/MultiCompiler.d.ts +1 -1
- package/dist/NativeWatchFileSystem.d.ts +1 -1
- package/dist/NormalModule.d.ts +2 -2
- package/dist/NormalModuleFactory.d.ts +1 -1
- package/dist/Resolver.d.ts +1 -1
- package/dist/ResolverFactory.d.ts +1 -1
- package/dist/RspackError.d.ts +2 -2
- package/dist/RuntimeGlobals.d.ts +2 -2
- package/dist/RuntimeModule.d.ts +1 -1
- package/dist/browser/middleware.d.ts +1 -0
- package/dist/builtin-loader/lightningcss/index.d.ts +11 -14
- package/dist/builtin-loader/lightningcss/target.d.ts +4 -0
- package/dist/builtin-loader/swc/index.d.ts +2 -2
- package/dist/builtin-loader/swc/types.d.ts +0 -6
- package/dist/builtin-plugin/BannerPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CircularDependencyRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CopyRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CssChunkingPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DeterministicChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DeterministicModuleIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DllReferenceAgencyPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DynamicEntryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnableLibraryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EntryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EsmLibraryPlugin.d.ts +2 -0
- package/dist/builtin-plugin/EvalDevToolModulePlugin.d.ts +1 -1
- package/dist/builtin-plugin/EvalSourceMapDevToolPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ExternalsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FlagDependencyUsagePlugin.d.ts +1 -1
- package/dist/builtin-plugin/HotModuleReplacementPlugin.d.ts +1 -1
- package/dist/builtin-plugin/HttpUriPlugin.d.ts +1 -1
- package/dist/builtin-plugin/IgnorePlugin.d.ts +1 -1
- package/dist/builtin-plugin/JavascriptModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/LightningCssMinimizerRspackPlugin.d.ts +5 -9
- package/dist/builtin-plugin/MangleExportsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ModuleConcatenationPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NaturalChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NaturalModuleIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/OccurrenceChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ProgressPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RsdoctorPlugin.d.ts +2 -6
- package/dist/builtin-plugin/RslibPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RstestPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RuntimeChunkPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RuntimePlugin.d.ts +1 -5
- package/dist/builtin-plugin/SourceMapDevToolPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SplitChunksPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +2 -2
- package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +3 -2
- package/dist/builtin-plugin/WebWorkerTemplatePlugin.d.ts +1 -1
- package/dist/builtin-plugin/WorkerPlugin.d.ts +1 -1
- package/dist/builtin-plugin/base.d.ts +1 -1
- package/dist/builtin-plugin/css-extract/index.d.ts +1 -1
- package/dist/builtin-plugin/html-plugin/hooks.d.ts +1 -1
- package/dist/builtin-plugin/html-plugin/options.d.ts +0 -5
- package/dist/builtin-plugin/html-plugin/plugin.d.ts +2 -6
- package/dist/config/adapter.d.ts +1 -1
- package/dist/config/adapterRuleUse.d.ts +3 -2
- package/dist/config/defaults.d.ts +4 -2
- package/dist/config/normalization.d.ts +5 -33
- package/dist/config/target.d.ts +14 -11
- package/dist/config/types.d.ts +75 -152
- package/dist/container/ContainerPlugin.d.ts +1 -1
- package/dist/container/ContainerReferencePlugin.d.ts +1 -1
- package/dist/container/ModuleFederationManifestPlugin.d.ts +1 -1
- package/dist/container/ModuleFederationPlugin.d.ts +2 -0
- package/dist/container/ModuleFederationRuntimePlugin.d.ts +4 -0
- package/dist/exports.d.ts +6 -19
- package/dist/{index.mjs → index.js} +3280 -4693
- package/dist/lib/DllPlugin.d.ts +1 -1
- package/dist/lib/DllReferencePlugin.d.ts +3 -3
- package/dist/lib/WebpackError.d.ts +1 -1
- package/dist/loader-runner/index.d.ts +1 -1
- package/dist/loader-runner/worker.d.ts +1 -1
- package/dist/napi-binding.d.ts +46 -55
- package/dist/rslib-runtime.js +40 -1
- package/dist/runtime/moduleFederationDefaultRuntime.d.ts +1 -2
- package/dist/sharing/ConsumeSharedPlugin.d.ts +1 -1
- package/dist/sharing/ProvideSharedPlugin.d.ts +1 -1
- package/dist/sharing/ShareRuntimePlugin.d.ts +1 -1
- package/dist/stats/StatsFactory.d.ts +1 -1
- package/dist/stats/statsFactoryUtils.d.ts +2 -5
- package/dist/swc.d.ts +1 -1
- package/dist/taps/compilation.d.ts +1 -1
- package/dist/taps/types.d.ts +1 -1
- package/dist/util/SplitChunkSize.d.ts +1 -1
- package/dist/util/source.d.ts +1 -1
- package/dist/util/targetsVersion.d.ts +2 -0
- package/dist/wasi-worker-browser.mjs +22749 -22744
- package/package.json +3 -4
- package/dist/builtin-loader/index.d.ts +0 -1
- package/dist/rslib-runtime.mjs +0 -68
- /package/dist/{index.mjs.LICENSE.txt → index.js.LICENSE.txt} +0 -0
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-debug/browser",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-alpha.0",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Rspack for running in the browser. This is still in early stage and may not follow the semver.",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"main": "./dist/index.mjs",
|
|
9
8
|
"types": "./dist/browser/index.d.ts",
|
|
10
9
|
"publishConfig": {
|
|
11
10
|
"access": "public",
|
|
@@ -14,7 +13,7 @@
|
|
|
14
13
|
"exports": {
|
|
15
14
|
".": {
|
|
16
15
|
"types": "./dist/browser/index.d.ts",
|
|
17
|
-
"default": "./dist/index.
|
|
16
|
+
"default": "./dist/index.js"
|
|
18
17
|
},
|
|
19
18
|
"./wasi-worker-browser.mjs": "./wasi-worker-browser.mjs",
|
|
20
19
|
"./package.json": "./package.json"
|
|
@@ -34,7 +33,7 @@
|
|
|
34
33
|
"@rspack/lite-tapable": "1.1.0",
|
|
35
34
|
"@swc/types": "0.1.25",
|
|
36
35
|
"@types/watchpack": "^2.4.5",
|
|
37
|
-
"memfs": "4.
|
|
36
|
+
"memfs": "4.53.0",
|
|
38
37
|
"webpack-sources": "3.3.3"
|
|
39
38
|
},
|
|
40
39
|
"peerDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './swc';
|
package/dist/rslib-runtime.mjs
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
var __webpack_modules__ = {};
|
|
2
|
-
var __webpack_module_cache__ = {};
|
|
3
|
-
function __webpack_require__(moduleId) {
|
|
4
|
-
var cachedModule = __webpack_module_cache__[moduleId];
|
|
5
|
-
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
6
|
-
var module = __webpack_module_cache__[moduleId] = {
|
|
7
|
-
id: moduleId,
|
|
8
|
-
loaded: false,
|
|
9
|
-
exports: {}
|
|
10
|
-
};
|
|
11
|
-
__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
12
|
-
module.loaded = true;
|
|
13
|
-
return module.exports;
|
|
14
|
-
}
|
|
15
|
-
__webpack_require__.m = __webpack_modules__;
|
|
16
|
-
(()=>{
|
|
17
|
-
__webpack_require__.add = function(modules) {
|
|
18
|
-
Object.assign(__webpack_require__.m, modules);
|
|
19
|
-
};
|
|
20
|
-
})();
|
|
21
|
-
(()=>{
|
|
22
|
-
__webpack_require__.n = (module)=>{
|
|
23
|
-
var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
|
|
24
|
-
__webpack_require__.d(getter, {
|
|
25
|
-
a: getter
|
|
26
|
-
});
|
|
27
|
-
return getter;
|
|
28
|
-
};
|
|
29
|
-
})();
|
|
30
|
-
(()=>{
|
|
31
|
-
__webpack_require__.d = (exports, definition)=>{
|
|
32
|
-
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: definition[key]
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
(()=>{
|
|
39
|
-
__webpack_require__.g = (()=>{
|
|
40
|
-
if ('object' == typeof globalThis) return globalThis;
|
|
41
|
-
try {
|
|
42
|
-
return this || new Function('return this')();
|
|
43
|
-
} catch (e) {
|
|
44
|
-
if ('object' == typeof window) return window;
|
|
45
|
-
}
|
|
46
|
-
})();
|
|
47
|
-
})();
|
|
48
|
-
(()=>{
|
|
49
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
50
|
-
})();
|
|
51
|
-
(()=>{
|
|
52
|
-
__webpack_require__.r = (exports)=>{
|
|
53
|
-
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports, Symbol.toStringTag, {
|
|
54
|
-
value: 'Module'
|
|
55
|
-
});
|
|
56
|
-
Object.defineProperty(exports, '__esModule', {
|
|
57
|
-
value: true
|
|
58
|
-
});
|
|
59
|
-
};
|
|
60
|
-
})();
|
|
61
|
-
(()=>{
|
|
62
|
-
__webpack_require__.nmd = (module)=>{
|
|
63
|
-
module.paths = [];
|
|
64
|
-
if (!module.children) module.children = [];
|
|
65
|
-
return module;
|
|
66
|
-
};
|
|
67
|
-
})();
|
|
68
|
-
export { __webpack_require__ };
|
|
File without changes
|