@rsbuild/plugin-source-build 0.3.2 → 0.3.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.
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +5 -5
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -22,4 +22,4 @@ interface PluginSourceBuildOptions {
|
|
|
22
22
|
}
|
|
23
23
|
declare function pluginSourceBuild(options?: PluginSourceBuildOptions): RsbuildPlugin;
|
|
24
24
|
|
|
25
|
-
export { PLUGIN_SOURCE_BUILD_NAME, PluginSourceBuildOptions, getSourceInclude, pluginSourceBuild };
|
|
25
|
+
export { PLUGIN_SOURCE_BUILD_NAME, type PluginSourceBuildOptions, getSourceInclude, pluginSourceBuild };
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { createRequire } from 'module';
|
|
2
|
+
var require = createRequire(import.meta['url']);
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
// ../../node_modules/.pnpm/@modern-js+module-tools@2.46.0_typescript@5.3.2/node_modules/@modern-js/module-tools/shims/esm.js
|
|
2
6
|
import { fileURLToPath } from "url";
|
|
3
7
|
import path from "path";
|
|
4
8
|
|
|
5
|
-
// ../../scripts/requireShims.js
|
|
6
|
-
import { createRequire } from "module";
|
|
7
|
-
global.require = createRequire(import.meta.url);
|
|
8
|
-
|
|
9
9
|
// src/index.ts
|
|
10
10
|
import fs from "fs";
|
|
11
11
|
import path2 from "path";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-source-build",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
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.3.
|
|
27
|
-
"@rsbuild/shared": "0.3.
|
|
26
|
+
"@rsbuild/monorepo-utils": "0.3.4",
|
|
27
|
+
"@rsbuild/shared": "0.3.4"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@babel/core": "^7.23.2",
|
|
31
31
|
"typescript": "^5.3.0",
|
|
32
|
-
"@rsbuild/core": "0.3.
|
|
33
|
-
"@rsbuild/plugin-babel": "0.3.
|
|
34
|
-
"@scripts/test-helper": "
|
|
32
|
+
"@rsbuild/core": "0.3.4",
|
|
33
|
+
"@rsbuild/plugin-babel": "0.3.4",
|
|
34
|
+
"@scripts/test-helper": "0.3.4"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@rsbuild/core": "0.
|
|
37
|
+
"@rsbuild/core": "^0.3.4"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public",
|