@webtypen/webframez-react 0.0.21 → 0.0.22
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/http.cjs +15 -1
- package/dist/http.js +15 -1
- package/dist/index.cjs +15 -1
- package/dist/index.js +15 -1
- package/dist/webframez-core.cjs +15 -1
- package/dist/webframez-core.js +15 -1
- package/package.json +1 -1
package/dist/http.cjs
CHANGED
|
@@ -677,6 +677,20 @@ const reactDomPkg = require.resolve("react-dom/package.json", {
|
|
|
677
677
|
paths: [process.cwd()]
|
|
678
678
|
});
|
|
679
679
|
const reactDomServer = require(path.join(path.dirname(reactDomPkg), "server.node.js"));
|
|
680
|
+
globalThis.__webpack_chunk_load__ = function __webframezNoopChunkLoad() {
|
|
681
|
+
return Promise.resolve();
|
|
682
|
+
};
|
|
683
|
+
globalThis.__webpack_require__ = function __webframezNodeRequire(id) {
|
|
684
|
+
if (typeof id !== "string") {
|
|
685
|
+
return require(id);
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
if (id.startsWith("./")) {
|
|
689
|
+
return require(path.resolve(process.cwd(), id.slice(2)));
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
return require(id);
|
|
693
|
+
};
|
|
680
694
|
|
|
681
695
|
function renderHtml(model) {
|
|
682
696
|
return new Promise((resolve, reject) => {
|
|
@@ -987,7 +1001,7 @@ function createServerConsumerManifest(manifest) {
|
|
|
987
1001
|
consumerManifest[key] = {
|
|
988
1002
|
"*": {
|
|
989
1003
|
id: entry.id,
|
|
990
|
-
chunks:
|
|
1004
|
+
chunks: [],
|
|
991
1005
|
name: entry.name ?? "*",
|
|
992
1006
|
...entry.async ? { async: entry.async } : {}
|
|
993
1007
|
}
|
package/dist/http.js
CHANGED
|
@@ -652,6 +652,20 @@ const reactDomPkg = require.resolve("react-dom/package.json", {
|
|
|
652
652
|
paths: [process.cwd()]
|
|
653
653
|
});
|
|
654
654
|
const reactDomServer = require(path.join(path.dirname(reactDomPkg), "server.node.js"));
|
|
655
|
+
globalThis.__webpack_chunk_load__ = function __webframezNoopChunkLoad() {
|
|
656
|
+
return Promise.resolve();
|
|
657
|
+
};
|
|
658
|
+
globalThis.__webpack_require__ = function __webframezNodeRequire(id) {
|
|
659
|
+
if (typeof id !== "string") {
|
|
660
|
+
return require(id);
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
if (id.startsWith("./")) {
|
|
664
|
+
return require(path.resolve(process.cwd(), id.slice(2)));
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
return require(id);
|
|
668
|
+
};
|
|
655
669
|
|
|
656
670
|
function renderHtml(model) {
|
|
657
671
|
return new Promise((resolve, reject) => {
|
|
@@ -962,7 +976,7 @@ function createServerConsumerManifest(manifest) {
|
|
|
962
976
|
consumerManifest[key] = {
|
|
963
977
|
"*": {
|
|
964
978
|
id: entry.id,
|
|
965
|
-
chunks:
|
|
979
|
+
chunks: [],
|
|
966
980
|
name: entry.name ?? "*",
|
|
967
981
|
...entry.async ? { async: entry.async } : {}
|
|
968
982
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -714,6 +714,20 @@ const reactDomPkg = require.resolve("react-dom/package.json", {
|
|
|
714
714
|
paths: [process.cwd()]
|
|
715
715
|
});
|
|
716
716
|
const reactDomServer = require(path.join(path.dirname(reactDomPkg), "server.node.js"));
|
|
717
|
+
globalThis.__webpack_chunk_load__ = function __webframezNoopChunkLoad() {
|
|
718
|
+
return Promise.resolve();
|
|
719
|
+
};
|
|
720
|
+
globalThis.__webpack_require__ = function __webframezNodeRequire(id) {
|
|
721
|
+
if (typeof id !== "string") {
|
|
722
|
+
return require(id);
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
if (id.startsWith("./")) {
|
|
726
|
+
return require(path.resolve(process.cwd(), id.slice(2)));
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
return require(id);
|
|
730
|
+
};
|
|
717
731
|
|
|
718
732
|
function renderHtml(model) {
|
|
719
733
|
return new Promise((resolve, reject) => {
|
|
@@ -1024,7 +1038,7 @@ function createServerConsumerManifest(manifest) {
|
|
|
1024
1038
|
consumerManifest[key] = {
|
|
1025
1039
|
"*": {
|
|
1026
1040
|
id: entry.id,
|
|
1027
|
-
chunks:
|
|
1041
|
+
chunks: [],
|
|
1028
1042
|
name: entry.name ?? "*",
|
|
1029
1043
|
...entry.async ? { async: entry.async } : {}
|
|
1030
1044
|
}
|
package/dist/index.js
CHANGED
|
@@ -678,6 +678,20 @@ const reactDomPkg = require.resolve("react-dom/package.json", {
|
|
|
678
678
|
paths: [process.cwd()]
|
|
679
679
|
});
|
|
680
680
|
const reactDomServer = require(path.join(path.dirname(reactDomPkg), "server.node.js"));
|
|
681
|
+
globalThis.__webpack_chunk_load__ = function __webframezNoopChunkLoad() {
|
|
682
|
+
return Promise.resolve();
|
|
683
|
+
};
|
|
684
|
+
globalThis.__webpack_require__ = function __webframezNodeRequire(id) {
|
|
685
|
+
if (typeof id !== "string") {
|
|
686
|
+
return require(id);
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
if (id.startsWith("./")) {
|
|
690
|
+
return require(path.resolve(process.cwd(), id.slice(2)));
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
return require(id);
|
|
694
|
+
};
|
|
681
695
|
|
|
682
696
|
function renderHtml(model) {
|
|
683
697
|
return new Promise((resolve, reject) => {
|
|
@@ -988,7 +1002,7 @@ function createServerConsumerManifest(manifest) {
|
|
|
988
1002
|
consumerManifest[key] = {
|
|
989
1003
|
"*": {
|
|
990
1004
|
id: entry.id,
|
|
991
|
-
chunks:
|
|
1005
|
+
chunks: [],
|
|
992
1006
|
name: entry.name ?? "*",
|
|
993
1007
|
...entry.async ? { async: entry.async } : {}
|
|
994
1008
|
}
|
package/dist/webframez-core.cjs
CHANGED
|
@@ -680,6 +680,20 @@ const reactDomPkg = require.resolve("react-dom/package.json", {
|
|
|
680
680
|
paths: [process.cwd()]
|
|
681
681
|
});
|
|
682
682
|
const reactDomServer = require(path.join(path.dirname(reactDomPkg), "server.node.js"));
|
|
683
|
+
globalThis.__webpack_chunk_load__ = function __webframezNoopChunkLoad() {
|
|
684
|
+
return Promise.resolve();
|
|
685
|
+
};
|
|
686
|
+
globalThis.__webpack_require__ = function __webframezNodeRequire(id) {
|
|
687
|
+
if (typeof id !== "string") {
|
|
688
|
+
return require(id);
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
if (id.startsWith("./")) {
|
|
692
|
+
return require(path.resolve(process.cwd(), id.slice(2)));
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
return require(id);
|
|
696
|
+
};
|
|
683
697
|
|
|
684
698
|
function renderHtml(model) {
|
|
685
699
|
return new Promise((resolve, reject) => {
|
|
@@ -990,7 +1004,7 @@ function createServerConsumerManifest(manifest) {
|
|
|
990
1004
|
consumerManifest[key] = {
|
|
991
1005
|
"*": {
|
|
992
1006
|
id: entry.id,
|
|
993
|
-
chunks:
|
|
1007
|
+
chunks: [],
|
|
994
1008
|
name: entry.name ?? "*",
|
|
995
1009
|
...entry.async ? { async: entry.async } : {}
|
|
996
1010
|
}
|
package/dist/webframez-core.js
CHANGED
|
@@ -652,6 +652,20 @@ const reactDomPkg = require.resolve("react-dom/package.json", {
|
|
|
652
652
|
paths: [process.cwd()]
|
|
653
653
|
});
|
|
654
654
|
const reactDomServer = require(path.join(path.dirname(reactDomPkg), "server.node.js"));
|
|
655
|
+
globalThis.__webpack_chunk_load__ = function __webframezNoopChunkLoad() {
|
|
656
|
+
return Promise.resolve();
|
|
657
|
+
};
|
|
658
|
+
globalThis.__webpack_require__ = function __webframezNodeRequire(id) {
|
|
659
|
+
if (typeof id !== "string") {
|
|
660
|
+
return require(id);
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
if (id.startsWith("./")) {
|
|
664
|
+
return require(path.resolve(process.cwd(), id.slice(2)));
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
return require(id);
|
|
668
|
+
};
|
|
655
669
|
|
|
656
670
|
function renderHtml(model) {
|
|
657
671
|
return new Promise((resolve, reject) => {
|
|
@@ -962,7 +976,7 @@ function createServerConsumerManifest(manifest) {
|
|
|
962
976
|
consumerManifest[key] = {
|
|
963
977
|
"*": {
|
|
964
978
|
id: entry.id,
|
|
965
|
-
chunks:
|
|
979
|
+
chunks: [],
|
|
966
980
|
name: entry.name ?? "*",
|
|
967
981
|
...entry.async ? { async: entry.async } : {}
|
|
968
982
|
}
|