@rspack/core 1.1.3 → 1.1.4
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.
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { BuiltinPluginName } from "@rspack/binding";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
apply(compiler: import("..").Compiler): void;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
1
|
+
import { type BuiltinPlugin, BuiltinPluginName } from "@rspack/binding";
|
|
2
|
+
import type { Compiler } from "../Compiler";
|
|
3
|
+
import { RspackBuiltinPlugin } from "./base";
|
|
4
|
+
export declare class WebWorkerTemplatePlugin extends RspackBuiltinPlugin {
|
|
5
|
+
name: BuiltinPluginName;
|
|
6
|
+
raw(compiler: Compiler): BuiltinPlugin | undefined;
|
|
7
|
+
}
|
package/dist/index.js
CHANGED
|
@@ -12370,10 +12370,16 @@ var WarnCaseSensitiveModulesPlugin = create2(
|
|
|
12370
12370
|
|
|
12371
12371
|
// src/builtin-plugin/WebWorkerTemplatePlugin.ts
|
|
12372
12372
|
var import_binding70 = require("@rspack/binding");
|
|
12373
|
-
var WebWorkerTemplatePlugin =
|
|
12374
|
-
|
|
12375
|
-
|
|
12376
|
-
|
|
12373
|
+
var WebWorkerTemplatePlugin = class extends RspackBuiltinPlugin {
|
|
12374
|
+
constructor() {
|
|
12375
|
+
super(...arguments);
|
|
12376
|
+
this.name = import_binding70.BuiltinPluginName.WebWorkerTemplatePlugin;
|
|
12377
|
+
}
|
|
12378
|
+
raw(compiler) {
|
|
12379
|
+
compiler.options.output.chunkLoading = "import-scripts";
|
|
12380
|
+
return createBuiltinPlugin(this.name, void 0);
|
|
12381
|
+
}
|
|
12382
|
+
};
|
|
12377
12383
|
|
|
12378
12384
|
// src/builtin-plugin/WorkerPlugin.ts
|
|
12379
12385
|
var import_binding71 = require("@rspack/binding");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "The fast Rust-based web bundler with webpack-compatible API",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@module-federation/runtime-tools": "0.5.1",
|
|
62
62
|
"@rspack/lite-tapable": "1.0.1",
|
|
63
63
|
"caniuse-lite": "^1.0.30001616",
|
|
64
|
-
"@rspack/binding": "1.1.
|
|
64
|
+
"@rspack/binding": "1.1.4"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"@swc/helpers": ">=0.5.1"
|