@rsbuild/plugin-vue2 0.7.0-beta.0 → 0.7.0-beta.1

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/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
- import type { RsbuildPlugin } from '@rsbuild/core';
2
- import type { VueLoaderOptions } from 'vue-loader';
3
- export type SplitVueChunkOptions = {
1
+ import { RsbuildPlugin } from '@rsbuild/core';
2
+ import { VueLoaderOptions } from 'vue-loader';
3
+
4
+ type SplitVueChunkOptions = {
4
5
  /**
5
6
  * Whether to enable split chunking for Vue-related dependencies (e.g., vue, vue-loader).
6
7
  * @default true
@@ -12,7 +13,7 @@ export type SplitVueChunkOptions = {
12
13
  */
13
14
  router?: boolean;
14
15
  };
15
- export type PluginVueOptions = {
16
+ type PluginVueOptions = {
16
17
  /**
17
18
  * Options passed to `vue-loader`.
18
19
  * @see https://vue-loader.vuejs.org/
@@ -23,4 +24,6 @@ export type PluginVueOptions = {
23
24
  */
24
25
  splitChunks?: SplitVueChunkOptions;
25
26
  };
26
- export declare function pluginVue2(options?: PluginVueOptions): RsbuildPlugin;
27
+ declare function pluginVue2(options?: PluginVueOptions): RsbuildPlugin;
28
+
29
+ export { type PluginVueOptions, type SplitVueChunkOptions, pluginVue2 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-vue2",
3
- "version": "0.7.0-beta.0",
3
+ "version": "0.7.0-beta.1",
4
4
  "description": "Vue 2 plugin of Rsbuild",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "repository": {
@@ -25,16 +25,16 @@
25
25
  "dependencies": {
26
26
  "vue-loader": "^15.11.1",
27
27
  "webpack": "^5.91.0",
28
- "@rsbuild/shared": "0.7.0-beta.0"
28
+ "@rsbuild/shared": "0.7.0-beta.1"
29
29
  },
30
30
  "devDependencies": {
31
31
  "typescript": "^5.4.2",
32
32
  "webpack": "^5.91.0",
33
- "@rsbuild/core": "0.7.0-beta.0",
34
- "@scripts/test-helper": "0.7.0-beta.0"
33
+ "@rsbuild/core": "0.7.0-beta.1",
34
+ "@scripts/test-helper": "0.7.0-beta.1"
35
35
  },
36
36
  "peerDependencies": {
37
- "@rsbuild/core": "^0.7.0-beta.0"
37
+ "@rsbuild/core": "^0.7.0-beta.1"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public",
@@ -1,8 +0,0 @@
1
- import type { Rspack } from '@rsbuild/shared';
2
- /**
3
- * this plugin is a quick fix for issue https://github.com/web-infra-dev/rsbuild/issues/2093
4
- */
5
- export declare class VueLoader15PitchFixPlugin implements Rspack.RspackPluginInstance {
6
- readonly name = "VueLoader15PitchFixPlugin";
7
- apply(compiler: Rspack.Compiler): void;
8
- }
@@ -1,3 +0,0 @@
1
- import type { RsbuildPluginAPI } from '@rsbuild/core';
2
- import type { SplitVueChunkOptions } from '.';
3
- export declare const applySplitChunksRule: (api: RsbuildPluginAPI, options?: SplitVueChunkOptions) => void;