@rsbuild/plugin-source-build 0.3.10 → 0.4.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/index.js +0 -2
- package/dist/index.mjs +0 -2
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -38,7 +38,6 @@ module.exports = __toCommonJS(src_exports);
|
|
|
38
38
|
var import_node_fs = __toESM(require("fs"));
|
|
39
39
|
var import_node_path = __toESM(require("path"));
|
|
40
40
|
var import_shared = require("@rsbuild/shared");
|
|
41
|
-
var import_core = require("@rsbuild/core");
|
|
42
41
|
var import_monorepo_utils = require("@rsbuild/monorepo-utils");
|
|
43
42
|
var PLUGIN_SOURCE_BUILD_NAME = "rsbuild:source-build";
|
|
44
43
|
var getSourceInclude = async (options) => {
|
|
@@ -58,7 +57,6 @@ function pluginSourceBuild(options) {
|
|
|
58
57
|
} = options ?? {};
|
|
59
58
|
return {
|
|
60
59
|
name: PLUGIN_SOURCE_BUILD_NAME,
|
|
61
|
-
pre: [import_core.PLUGIN_BABEL_NAME, "uni-builder:babel", "uni-builder:ts-loader"],
|
|
62
60
|
setup(api) {
|
|
63
61
|
const projectRootPath = api.context.rootPath;
|
|
64
62
|
let projects = [];
|
package/dist/index.mjs
CHANGED
|
@@ -10,7 +10,6 @@ import path from "path";
|
|
|
10
10
|
import fs from "fs";
|
|
11
11
|
import path2 from "path";
|
|
12
12
|
import { TS_CONFIG_FILE } from "@rsbuild/shared";
|
|
13
|
-
import { PLUGIN_BABEL_NAME } from "@rsbuild/core";
|
|
14
13
|
import {
|
|
15
14
|
filterByField,
|
|
16
15
|
getDependentProjects
|
|
@@ -33,7 +32,6 @@ function pluginSourceBuild(options) {
|
|
|
33
32
|
} = options ?? {};
|
|
34
33
|
return {
|
|
35
34
|
name: PLUGIN_SOURCE_BUILD_NAME,
|
|
36
|
-
pre: [PLUGIN_BABEL_NAME, "uni-builder:babel", "uni-builder:ts-loader"],
|
|
37
35
|
setup(api) {
|
|
38
36
|
const projectRootPath = api.context.rootPath;
|
|
39
37
|
let projects = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-source-build",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Source build plugin of Rsbuild",
|
|
5
5
|
"homepage": "https://rsbuild.dev",
|
|
6
6
|
"repository": {
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
"dist"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@rsbuild/monorepo-utils": "0.
|
|
27
|
-
"@rsbuild/shared": "0.
|
|
26
|
+
"@rsbuild/monorepo-utils": "0.4.0",
|
|
27
|
+
"@rsbuild/shared": "0.4.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@babel/core": "^7.23.2",
|
|
31
31
|
"typescript": "^5.3.0",
|
|
32
|
-
"@rsbuild/core": "0.
|
|
33
|
-
"@rsbuild/plugin-babel": "0.
|
|
34
|
-
"@scripts/test-helper": "0.
|
|
32
|
+
"@rsbuild/core": "0.4.0",
|
|
33
|
+
"@rsbuild/plugin-babel": "0.4.0",
|
|
34
|
+
"@scripts/test-helper": "0.4.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@rsbuild/core": "^0.
|
|
37
|
+
"@rsbuild/core": "^0.4.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public",
|