@modern-js/node-bundle-require 2.21.1 → 2.22.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/CHANGELOG.md +8 -0
- package/dist/cjs/bundle.js +9 -3
- package/dist/cjs/index.js +9 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/dist/cjs/bundle.js
CHANGED
|
@@ -10,9 +10,15 @@ function _export(target, all) {
|
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
EXTERNAL_REGEXP: ()
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
EXTERNAL_REGEXP: function() {
|
|
14
|
+
return EXTERNAL_REGEXP;
|
|
15
|
+
},
|
|
16
|
+
defaultGetOutputFile: function() {
|
|
17
|
+
return defaultGetOutputFile;
|
|
18
|
+
},
|
|
19
|
+
bundle: function() {
|
|
20
|
+
return bundle;
|
|
21
|
+
}
|
|
16
22
|
});
|
|
17
23
|
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
18
24
|
const _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
package/dist/cjs/index.js
CHANGED
|
@@ -10,9 +10,15 @@ function _export(target, all) {
|
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
bundle: ()
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
bundle: function() {
|
|
14
|
+
return _bundle.bundle;
|
|
15
|
+
},
|
|
16
|
+
defaultGetOutputFile: function() {
|
|
17
|
+
return _bundle.defaultGetOutputFile;
|
|
18
|
+
},
|
|
19
|
+
bundleRequire: function() {
|
|
20
|
+
return bundleRequire;
|
|
21
|
+
}
|
|
16
22
|
});
|
|
17
23
|
const _utils = require("@modern-js/utils");
|
|
18
24
|
const _bundle = require("./bundle");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modern-js/node-bundle-require",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.22.0",
|
|
4
4
|
"description": "A Progressive React Framework for modern web development.",
|
|
5
5
|
"homepage": "https://modernjs.dev",
|
|
6
6
|
"bugs": "https://github.com/web-infra-dev/modern.js/issues",
|
|
@@ -47,15 +47,15 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"esbuild": "0.15.7",
|
|
49
49
|
"@swc/helpers": "0.5.1",
|
|
50
|
-
"@modern-js/utils": "2.
|
|
50
|
+
"@modern-js/utils": "2.22.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/jest": "^29",
|
|
54
54
|
"@types/node": "^14",
|
|
55
55
|
"jest": "^29",
|
|
56
56
|
"typescript": "^5",
|
|
57
|
-
"@scripts/build": "2.
|
|
58
|
-
"@scripts/jest-config": "2.
|
|
57
|
+
"@scripts/build": "2.22.0",
|
|
58
|
+
"@scripts/jest-config": "2.22.0"
|
|
59
59
|
},
|
|
60
60
|
"sideEffects": false,
|
|
61
61
|
"publishConfig": {
|