react-scripts-intlayer 7.3.2-canary.0 → 7.3.2-canary.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/cjs/_virtual/rolldown_runtime.cjs +4 -8
- package/dist/cjs/craco.config.cjs +2 -2
- package/dist/cjs/intlayerCracoPlugin.cjs +2 -2
- package/dist/esm/_virtual/rolldown_runtime.mjs +3 -7
- package/dist/esm/craco.config.mjs +3 -3
- package/dist/esm/intlayerCracoPlugin.mjs +3 -3
- package/package.json +6 -6
|
@@ -5,12 +5,8 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
var __commonJS = (cb, mod) => function() {
|
|
12
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
13
|
-
};
|
|
8
|
+
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
9
|
+
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
14
10
|
var __copyProps = (to, from, except, desc) => {
|
|
15
11
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
12
|
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
@@ -39,7 +35,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
39
35
|
|
|
40
36
|
//#endregion
|
|
41
37
|
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
38
|
+
exports.__commonJSMin = __commonJSMin;
|
|
39
|
+
exports.__esmMin = __esmMin;
|
|
44
40
|
exports.__reExport = __reExport;
|
|
45
41
|
exports.__toESM = __toESM;
|
|
@@ -2,11 +2,11 @@ const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
|
2
2
|
const require_intlayerCracoPlugin = require('./intlayerCracoPlugin.cjs');
|
|
3
3
|
|
|
4
4
|
//#region src/craco.config.ts
|
|
5
|
-
var require_craco_config = /* @__PURE__ */ require_rolldown_runtime.
|
|
5
|
+
var require_craco_config = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
|
|
6
6
|
require_intlayerCracoPlugin.init_intlayerCracoPlugin();
|
|
7
7
|
const cracoConfig = { plugins: [{ plugin: require_intlayerCracoPlugin.intlayerCracoPlugin }] };
|
|
8
8
|
module.exports = cracoConfig;
|
|
9
|
-
})
|
|
9
|
+
}));
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
module.exports = require_craco_config();
|
|
@@ -4,7 +4,7 @@ let __intlayer_webpack = require("@intlayer/webpack");
|
|
|
4
4
|
|
|
5
5
|
//#region src/intlayerCracoPlugin.ts
|
|
6
6
|
var intlayerConfig, overrideWebpackConfig, overrideCracoConfig, intlayerCracoPlugin;
|
|
7
|
-
var init_intlayerCracoPlugin = require_rolldown_runtime.
|
|
7
|
+
var init_intlayerCracoPlugin = require_rolldown_runtime.__esmMin((() => {
|
|
8
8
|
intlayerConfig = (0, __intlayer_config.getConfiguration)();
|
|
9
9
|
overrideWebpackConfig = ({ webpackConfig }) => {
|
|
10
10
|
webpackConfig.externals = {
|
|
@@ -55,7 +55,7 @@ var init_intlayerCracoPlugin = require_rolldown_runtime.__esm({ "src/intlayerCra
|
|
|
55
55
|
overrideCracoConfig,
|
|
56
56
|
overrideWebpackConfig
|
|
57
57
|
};
|
|
58
|
-
})
|
|
58
|
+
}));
|
|
59
59
|
|
|
60
60
|
//#endregion
|
|
61
61
|
init_intlayerCracoPlugin();
|
|
@@ -5,12 +5,8 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
var __commonJS = (cb, mod) => function() {
|
|
12
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
13
|
-
};
|
|
8
|
+
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
9
|
+
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
14
10
|
var __copyProps = (to, from, except, desc) => {
|
|
15
11
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
12
|
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
@@ -38,4 +34,4 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
38
34
|
}) : target, mod));
|
|
39
35
|
|
|
40
36
|
//#endregion
|
|
41
|
-
export {
|
|
37
|
+
export { __commonJSMin, __esmMin, __reExport, __toESM };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __commonJSMin } from "./_virtual/rolldown_runtime.mjs";
|
|
2
2
|
import { init_intlayerCracoPlugin, intlayerCracoPlugin } from "./intlayerCracoPlugin.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/craco.config.ts
|
|
5
|
-
var require_craco_config = /* @__PURE__ */
|
|
5
|
+
var require_craco_config = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6
6
|
init_intlayerCracoPlugin();
|
|
7
7
|
const cracoConfig = { plugins: [{ plugin: intlayerCracoPlugin }] };
|
|
8
8
|
module.exports = cracoConfig;
|
|
9
|
-
})
|
|
9
|
+
}));
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export default require_craco_config();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __esmMin } from "./_virtual/rolldown_runtime.mjs";
|
|
2
2
|
import { getAlias, getConfiguration, getProjectRequire } from "@intlayer/config";
|
|
3
3
|
import { IntlayerPlugin } from "@intlayer/webpack";
|
|
4
4
|
|
|
5
5
|
//#region src/intlayerCracoPlugin.ts
|
|
6
6
|
var intlayerConfig, overrideWebpackConfig, overrideCracoConfig, intlayerCracoPlugin;
|
|
7
|
-
var init_intlayerCracoPlugin =
|
|
7
|
+
var init_intlayerCracoPlugin = __esmMin((() => {
|
|
8
8
|
intlayerConfig = getConfiguration();
|
|
9
9
|
overrideWebpackConfig = ({ webpackConfig }) => {
|
|
10
10
|
webpackConfig.externals = {
|
|
@@ -55,7 +55,7 @@ var init_intlayerCracoPlugin = __esm({ "src/intlayerCracoPlugin.ts": (() => {
|
|
|
55
55
|
overrideCracoConfig,
|
|
56
56
|
overrideWebpackConfig
|
|
57
57
|
};
|
|
58
|
-
})
|
|
58
|
+
}));
|
|
59
59
|
|
|
60
60
|
//#endregion
|
|
61
61
|
init_intlayerCracoPlugin();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-scripts-intlayer",
|
|
3
|
-
"version": "7.3.2-canary.
|
|
3
|
+
"version": "7.3.2-canary.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Integrate Intlayer with Create React App using custom React scripts for internationalization i18n and advanced Webpack configurations",
|
|
6
6
|
"keywords": [
|
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
82
|
"@craco/craco": "7.1.0",
|
|
83
|
-
"@intlayer/config": "7.3.2-canary.
|
|
84
|
-
"@intlayer/types": "7.3.2-canary.
|
|
85
|
-
"@intlayer/webpack": "7.3.2-canary.
|
|
83
|
+
"@intlayer/config": "7.3.2-canary.1",
|
|
84
|
+
"@intlayer/types": "7.3.2-canary.1",
|
|
85
|
+
"@intlayer/webpack": "7.3.2-canary.1",
|
|
86
86
|
"node-loader": "2.1.0",
|
|
87
87
|
"process": "0.11.10",
|
|
88
88
|
"webpack": "5.98.0"
|
|
@@ -96,9 +96,9 @@
|
|
|
96
96
|
"@utils/ts-config-types": "1.0.4",
|
|
97
97
|
"@utils/tsdown-config": "1.0.4",
|
|
98
98
|
"rimraf": "6.1.2",
|
|
99
|
-
"tsdown": "0.16.
|
|
99
|
+
"tsdown": "0.16.8",
|
|
100
100
|
"typescript": "5.9.3",
|
|
101
|
-
"vitest": "4.0.
|
|
101
|
+
"vitest": "4.0.14"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
104
104
|
"webpack": ">=5.0.0"
|