@bleedingdev/modern-js-app-tools 3.2.0-ultramodern.90 → 3.2.0-ultramodern.91
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/builder/generator/getBuilderEnvironments.js +1 -0
- package/dist/cjs/plugins/deploy/platforms/cloudflare.js +1 -0
- package/dist/esm/builder/generator/getBuilderEnvironments.mjs +1 -0
- package/dist/esm/plugins/deploy/platforms/cloudflare.mjs +1 -0
- package/dist/esm-node/builder/generator/getBuilderEnvironments.mjs +1 -0
- package/dist/esm-node/plugins/deploy/platforms/cloudflare.mjs +1 -0
- package/package.json +11 -11
|
@@ -204,6 +204,7 @@ function getBuilderEnvironments(normalizedConfig, appContext, tempBuilderConfig)
|
|
|
204
204
|
outputModule: true
|
|
205
205
|
}
|
|
206
206
|
});
|
|
207
|
+
chain.output.chunkFormat('module').chunkLoading('import').workerChunkLoading('import');
|
|
207
208
|
chain.target('webworker');
|
|
208
209
|
chain.plugins.delete('plugin-module-federation');
|
|
209
210
|
if (tanstackRouterSsrServerFile) {
|
|
@@ -150,6 +150,7 @@ const shouldCopyToWorkerBundle = (src, workerBundleDirectory)=>{
|
|
|
150
150
|
const normalizedRelativePath = relativePath.replace(/\\/g, '/');
|
|
151
151
|
const basename = external_node_path_default().basename(normalizedRelativePath);
|
|
152
152
|
if (basename.startsWith('.') || normalizedRelativePath.includes('/.')) return false;
|
|
153
|
+
if (utils_namespaceObject.fs.statSync(src).isDirectory()) return true;
|
|
153
154
|
return [
|
|
154
155
|
'.cjs',
|
|
155
156
|
'.js',
|
|
@@ -165,6 +165,7 @@ function getBuilderEnvironments(normalizedConfig, appContext, tempBuilderConfig)
|
|
|
165
165
|
outputModule: true
|
|
166
166
|
}
|
|
167
167
|
});
|
|
168
|
+
chain.output.chunkFormat('module').chunkLoading('import').workerChunkLoading('import');
|
|
168
169
|
chain.target('webworker');
|
|
169
170
|
chain.plugins.delete('plugin-module-federation');
|
|
170
171
|
if (tanstackRouterSsrServerFile) {
|
|
@@ -112,6 +112,7 @@ const shouldCopyToWorkerBundle = (src, workerBundleDirectory)=>{
|
|
|
112
112
|
const normalizedRelativePath = relativePath.replace(/\\/g, '/');
|
|
113
113
|
const basename = node_path.basename(normalizedRelativePath);
|
|
114
114
|
if (basename.startsWith('.') || normalizedRelativePath.includes('/.')) return false;
|
|
115
|
+
if (fs.statSync(src).isDirectory()) return true;
|
|
115
116
|
return [
|
|
116
117
|
'.cjs',
|
|
117
118
|
'.js',
|
|
@@ -170,6 +170,7 @@ function getBuilderEnvironments(normalizedConfig, appContext, tempBuilderConfig)
|
|
|
170
170
|
outputModule: true
|
|
171
171
|
}
|
|
172
172
|
});
|
|
173
|
+
chain.output.chunkFormat('module').chunkLoading('import').workerChunkLoading('import');
|
|
173
174
|
chain.target('webworker');
|
|
174
175
|
chain.plugins.delete('plugin-module-federation');
|
|
175
176
|
if (tanstackRouterSsrServerFile) {
|
|
@@ -113,6 +113,7 @@ const shouldCopyToWorkerBundle = (src, workerBundleDirectory)=>{
|
|
|
113
113
|
const normalizedRelativePath = relativePath.replace(/\\/g, '/');
|
|
114
114
|
const basename = node_path.basename(normalizedRelativePath);
|
|
115
115
|
if (basename.startsWith('.') || normalizedRelativePath.includes('/.')) return false;
|
|
116
|
+
if (fs.statSync(src).isDirectory()) return true;
|
|
116
117
|
return [
|
|
117
118
|
'.cjs',
|
|
118
119
|
'.js',
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"modern",
|
|
18
18
|
"modern.js"
|
|
19
19
|
],
|
|
20
|
-
"version": "3.2.0-ultramodern.
|
|
20
|
+
"version": "3.2.0-ultramodern.91",
|
|
21
21
|
"types": "./dist/types/index.d.ts",
|
|
22
22
|
"main": "./dist/cjs/index.js",
|
|
23
23
|
"exports": {
|
|
@@ -99,16 +99,16 @@
|
|
|
99
99
|
"ndepe": "^0.1.13",
|
|
100
100
|
"pkg-types": "^2.3.1",
|
|
101
101
|
"std-env": "4.1.0",
|
|
102
|
-
"@modern-js/plugin": "npm:@bleedingdev/modern-js-plugin@3.2.0-ultramodern.
|
|
103
|
-
"@modern-js/
|
|
104
|
-
"@modern-js/
|
|
105
|
-
"@modern-js/i18n-utils": "npm:@bleedingdev/modern-js-i18n-utils@3.2.0-ultramodern.
|
|
106
|
-
"@modern-js/server": "npm:@bleedingdev/modern-js-server@3.2.0-ultramodern.
|
|
107
|
-
"@modern-js/server-core": "npm:@bleedingdev/modern-js-server-core@3.2.0-ultramodern.
|
|
108
|
-
"@modern-js/server-utils": "npm:@bleedingdev/modern-js-server-utils@3.2.0-ultramodern.
|
|
109
|
-
"@modern-js/
|
|
110
|
-
"@modern-js/
|
|
111
|
-
"@modern-js/
|
|
102
|
+
"@modern-js/plugin": "npm:@bleedingdev/modern-js-plugin@3.2.0-ultramodern.91",
|
|
103
|
+
"@modern-js/prod-server": "npm:@bleedingdev/modern-js-prod-server@3.2.0-ultramodern.91",
|
|
104
|
+
"@modern-js/plugin-data-loader": "npm:@bleedingdev/modern-js-plugin-data-loader@3.2.0-ultramodern.91",
|
|
105
|
+
"@modern-js/i18n-utils": "npm:@bleedingdev/modern-js-i18n-utils@3.2.0-ultramodern.91",
|
|
106
|
+
"@modern-js/server": "npm:@bleedingdev/modern-js-server@3.2.0-ultramodern.91",
|
|
107
|
+
"@modern-js/server-core": "npm:@bleedingdev/modern-js-server-core@3.2.0-ultramodern.91",
|
|
108
|
+
"@modern-js/server-utils": "npm:@bleedingdev/modern-js-server-utils@3.2.0-ultramodern.91",
|
|
109
|
+
"@modern-js/builder": "npm:@bleedingdev/modern-js-builder@3.2.0-ultramodern.91",
|
|
110
|
+
"@modern-js/types": "npm:@bleedingdev/modern-js-types@3.2.0-ultramodern.91",
|
|
111
|
+
"@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.2.0-ultramodern.91"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@rslib/core": "0.21.5",
|