@rspack-debug/browser 2.0.0-rc.0 → 2.0.0-rc.3

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.
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The following code is modified based on
3
+ * https://github.com/webpack/webpack/blob/4b4ca3b/lib/web/JsonpTemplatePlugin.js
4
+ *
5
+ * MIT Licensed
6
+ * Author Tobias Koppers @sokra
7
+ * Copyright (c) JS Foundation and other contributors
8
+ * https://github.com/webpack/webpack/blob/main/LICENSE
9
+ */
10
+ import type { Compiler } from '../Compiler';
11
+ export default class JsonpTemplatePlugin {
12
+ apply(compiler: Compiler): void;
13
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The following code is modified based on
3
+ * https://github.com/webpack/webpack/blob/4b4ca3b/lib/webworker/WebWorkerTemplatePlugin.js
4
+ *
5
+ * MIT Licensed
6
+ * Author Tobias Koppers @sokra
7
+ * Copyright (c) JS Foundation and other contributors
8
+ * https://github.com/webpack/webpack/blob/main/LICENSE
9
+ */
10
+ import type { Compiler } from '../Compiler';
11
+ export default class WebWorkerTemplatePlugin {
12
+ apply(compiler: Compiler): void;
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack-debug/browser",
3
- "version": "2.0.0-rc.0",
3
+ "version": "2.0.0-rc.3",
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.",
@@ -29,7 +29,9 @@
29
29
  "directory": "packages/rspack-browser"
30
30
  },
31
31
  "dependencies": {
32
- "@napi-rs/wasm-runtime": "1.1.2",
32
+ "@emnapi/core": "1.9.2",
33
+ "@emnapi/runtime": "1.9.2",
34
+ "@napi-rs/wasm-runtime": "1.1.3",
33
35
  "@rspack/lite-tapable": "1.1.0",
34
36
  "@swc/types": "0.1.26",
35
37
  "@types/watchpack": "^2.4.5",
@@ -1,7 +0,0 @@
1
- import { type BuiltinPlugin, BuiltinPluginName } from '../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
- }