@codepress/codepress-engine 0.7.3 → 0.7.4-dev.prod-hmr.20251121175347
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/types.d.ts +5 -0
- package/dist/webpack-plugin.d.ts +5 -1
- package/dist/webpack-plugin.js +171 -71
- package/dist/webpack-plugin.js.map +1 -1
- package/package.json +1 -1
- package/swc/codepress_engine.v0_82_87.wasm +0 -0
- package/swc/codepress_engine.v26.wasm +0 -0
- package/swc/codepress_engine.v42.wasm +0 -0
package/dist/types.d.ts
CHANGED
|
@@ -3,4 +3,9 @@ export interface CodePressPluginOptions {
|
|
|
3
3
|
branch_name?: string;
|
|
4
4
|
skip_components?: string[];
|
|
5
5
|
skip_member_roots?: string[];
|
|
6
|
+
/**
|
|
7
|
+
* Array of file patterns to exclude from transformation.
|
|
8
|
+
* Supports glob patterns (e.g., "**\/FontProvider.tsx", "**\/providers/**")
|
|
9
|
+
*/
|
|
10
|
+
exclude?: string[];
|
|
6
11
|
}
|
package/dist/webpack-plugin.d.ts
CHANGED
|
@@ -43,6 +43,9 @@ export default class CodePressWebpackPlugin {
|
|
|
43
43
|
* Apply the plugin to the webpack compiler
|
|
44
44
|
*/
|
|
45
45
|
apply(compiler: Compiler): void;
|
|
46
|
+
/**
|
|
47
|
+
* No longer needed - we use webpack's getUsedName() API instead
|
|
48
|
+
*/
|
|
46
49
|
/**
|
|
47
50
|
* Process compilation assets and inject module map
|
|
48
51
|
*/
|
|
@@ -52,7 +55,8 @@ export default class CodePressWebpackPlugin {
|
|
|
52
55
|
*/
|
|
53
56
|
private buildModuleMap;
|
|
54
57
|
/**
|
|
55
|
-
* Capture export name mappings
|
|
58
|
+
* Capture export name mappings using webpack's own mangling APIs
|
|
59
|
+
* This uses ExportInfo.getUsedName() to get the mangled export names directly
|
|
56
60
|
*/
|
|
57
61
|
private captureExportMappings;
|
|
58
62
|
/**
|
package/dist/webpack-plugin.js
CHANGED
|
@@ -47,13 +47,17 @@ class CodePressWebpackPlugin {
|
|
|
47
47
|
compiler.hooks.thisCompilation.tap(this.name, (compilation) => {
|
|
48
48
|
compilation.hooks.processAssets.tap({
|
|
49
49
|
name: this.name,
|
|
50
|
-
// Run
|
|
51
|
-
|
|
50
|
+
// Run at REPORT stage (very last) to ensure all module IDs are assigned
|
|
51
|
+
// Export mangling happens at OPTIMIZE_INLINE, so mangled names are available here
|
|
52
|
+
stage: compilation.constructor.PROCESS_ASSETS_STAGE_REPORT,
|
|
52
53
|
}, () => {
|
|
53
54
|
this.processAssets(compilation, compiler);
|
|
54
55
|
});
|
|
55
56
|
});
|
|
56
57
|
}
|
|
58
|
+
/**
|
|
59
|
+
* No longer needed - we use webpack's getUsedName() API instead
|
|
60
|
+
*/
|
|
57
61
|
/**
|
|
58
62
|
* Process compilation assets and inject module map
|
|
59
63
|
*/
|
|
@@ -75,111 +79,207 @@ class CodePressWebpackPlugin {
|
|
|
75
79
|
*/
|
|
76
80
|
buildModuleMap(compilation, compiler) {
|
|
77
81
|
const moduleMap = {};
|
|
82
|
+
let processedCount = 0;
|
|
83
|
+
let skippedNoId = 0;
|
|
84
|
+
let skippedNoResource = 0;
|
|
85
|
+
let skippedNoPath = 0;
|
|
86
|
+
console.log('[CodePress] Building module map from', compilation.modules.size, 'modules');
|
|
78
87
|
compilation.modules.forEach((module) => {
|
|
88
|
+
var _a, _b;
|
|
89
|
+
// Type assertion: webpack modules can have a resource property
|
|
90
|
+
const moduleWithResource = module;
|
|
91
|
+
// Debug logging BEFORE any checks - to see if HeroSection is even in the compilation
|
|
92
|
+
// Also check barrel files in the hero export chain
|
|
93
|
+
const isHeroRelated = moduleWithResource.resource && (moduleWithResource.resource.includes('HeroSection') ||
|
|
94
|
+
moduleWithResource.resource.includes('home/sections') ||
|
|
95
|
+
moduleWithResource.resource.includes('features/home/index') ||
|
|
96
|
+
moduleWithResource.resource.includes('sections/hero/index'));
|
|
97
|
+
if (isHeroRelated) {
|
|
98
|
+
const moduleId = compilation.chunkGraph.getModuleId(module);
|
|
99
|
+
const chunks = Array.from(compilation.chunkGraph.getModuleChunks(module));
|
|
100
|
+
const chunkNames = chunks.map(chunk => chunk.name || chunk.id);
|
|
101
|
+
console.log('[CodePress] FOUND HeroSection-related module (before checks):', {
|
|
102
|
+
resource: moduleWithResource.resource,
|
|
103
|
+
hasModuleId: moduleId !== null && moduleId !== undefined,
|
|
104
|
+
moduleId: moduleId,
|
|
105
|
+
chunkCount: chunks.length,
|
|
106
|
+
chunkNames: chunkNames,
|
|
107
|
+
});
|
|
108
|
+
}
|
|
79
109
|
// Use ChunkGraph API instead of deprecated module.id
|
|
80
110
|
const moduleId = compilation.chunkGraph.getModuleId(module);
|
|
111
|
+
// Debug logging for specific module ID 30348
|
|
112
|
+
if (moduleId === 30348 || moduleId === '30348') {
|
|
113
|
+
console.log('[CodePress] ⭐ FOUND MODULE 30348:', {
|
|
114
|
+
moduleId: moduleId,
|
|
115
|
+
resource: moduleWithResource.resource,
|
|
116
|
+
type: typeof moduleId,
|
|
117
|
+
moduleType: module.constructor.name,
|
|
118
|
+
});
|
|
119
|
+
}
|
|
81
120
|
if (moduleId === null || moduleId === undefined) {
|
|
121
|
+
skippedNoId++;
|
|
82
122
|
return;
|
|
83
123
|
}
|
|
84
|
-
//
|
|
85
|
-
|
|
124
|
+
// Handle modules without resource (e.g., concatenated modules)
|
|
125
|
+
// These still have export info we can capture
|
|
86
126
|
if (!moduleWithResource.resource) {
|
|
127
|
+
// Try to get export mappings even without resource
|
|
128
|
+
const exportMappings = this.captureExportMappings(module, compilation);
|
|
129
|
+
if (exportMappings && Object.keys(exportMappings).length > 0) {
|
|
130
|
+
const id = String(moduleId);
|
|
131
|
+
// Use module identifier as fallback path
|
|
132
|
+
const moduleIdentifier = ((_b = (_a = module).identifier) === null || _b === void 0 ? void 0 : _b.call(_a)) || `module_${id}`;
|
|
133
|
+
// For concatenated modules, try to extract source modules
|
|
134
|
+
const concatenatedModule = module;
|
|
135
|
+
let allSourcePaths = [];
|
|
136
|
+
if (concatenatedModule.modules && Array.isArray(concatenatedModule.modules)) {
|
|
137
|
+
console.log('[CodePress] ConcatenatedModule', id, 'contains', concatenatedModule.modules.length, 'source modules');
|
|
138
|
+
// Collect all source module paths
|
|
139
|
+
for (const sourceModule of concatenatedModule.modules) {
|
|
140
|
+
const sourceResource = sourceModule.resource;
|
|
141
|
+
if (sourceResource) {
|
|
142
|
+
// Store both normalized (for module ID entry) and runtime format (with extension)
|
|
143
|
+
const normalizedPath = this.normalizePath(sourceResource, compiler.context);
|
|
144
|
+
// Runtime format: relative to context, with extension, no ./ prefix
|
|
145
|
+
const runtimePath = sourceResource
|
|
146
|
+
.replace(compiler.context + '/', '')
|
|
147
|
+
.replace(/\\/g, '/');
|
|
148
|
+
if (normalizedPath) {
|
|
149
|
+
console.log('[CodePress] Source module in concatenated:', normalizedPath, '(runtime:', runtimePath + ')');
|
|
150
|
+
allSourcePaths.push({ normalized: normalizedPath, runtime: runtimePath });
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
// Add entries for ALL source files so runtime can find them by path
|
|
155
|
+
if (allSourcePaths.length > 0) {
|
|
156
|
+
// Add numeric ID entry (for backwards compat)
|
|
157
|
+
moduleMap[id] = {
|
|
158
|
+
path: allSourcePaths[0].normalized,
|
|
159
|
+
exports: exportMappings,
|
|
160
|
+
};
|
|
161
|
+
// Add path-based entries for each source file (for runtime lookup)
|
|
162
|
+
// Runtime expects: 'src/features/home/sections/hero/HeroSection.tsx' (with extension, no ./)
|
|
163
|
+
for (const { normalized, runtime } of allSourcePaths) {
|
|
164
|
+
// Key by runtime path WITH extension for fast O(1) lookup
|
|
165
|
+
moduleMap[runtime] = {
|
|
166
|
+
path: runtime,
|
|
167
|
+
moduleId: id, // Add module ID so runtime can require it!
|
|
168
|
+
exports: exportMappings,
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
console.log('[CodePress] Added', allSourcePaths.length, 'path-based entries for module', id);
|
|
172
|
+
}
|
|
173
|
+
else {
|
|
174
|
+
// Fallback: use the identifier
|
|
175
|
+
moduleMap[id] = {
|
|
176
|
+
path: moduleIdentifier,
|
|
177
|
+
exports: exportMappings,
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
else {
|
|
182
|
+
// Fallback: use the identifier
|
|
183
|
+
moduleMap[id] = {
|
|
184
|
+
path: moduleIdentifier,
|
|
185
|
+
exports: exportMappings,
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
console.log('[CodePress] Added module without resource to map:', id, 'exports:', Object.keys(exportMappings));
|
|
189
|
+
processedCount++;
|
|
190
|
+
}
|
|
191
|
+
else {
|
|
192
|
+
skippedNoResource++;
|
|
193
|
+
}
|
|
87
194
|
return;
|
|
88
195
|
}
|
|
89
196
|
const id = String(moduleId);
|
|
90
|
-
const
|
|
197
|
+
const resource = moduleWithResource.resource;
|
|
198
|
+
const normalizedPath = this.normalizePath(resource, compiler.context);
|
|
199
|
+
// Debug logging for HeroSection or home-related modules
|
|
200
|
+
if (resource.includes('HeroSection') || resource.includes('home/sections')) {
|
|
201
|
+
console.log('[CodePress] Found HeroSection-related module:', {
|
|
202
|
+
id,
|
|
203
|
+
resource,
|
|
204
|
+
normalizedPath,
|
|
205
|
+
});
|
|
206
|
+
}
|
|
91
207
|
if (normalizedPath) {
|
|
92
|
-
//
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
208
|
+
// Try to capture export mappings
|
|
209
|
+
const exportMappings = this.captureExportMappings(module, compilation);
|
|
210
|
+
if (exportMappings && Object.keys(exportMappings).length > 0) {
|
|
211
|
+
moduleMap[id] = {
|
|
212
|
+
path: normalizedPath,
|
|
213
|
+
exports: exportMappings,
|
|
214
|
+
};
|
|
215
|
+
console.log('[CodePress] Added to map with exports:', id, normalizedPath, Object.keys(exportMappings));
|
|
100
216
|
}
|
|
101
217
|
else {
|
|
102
|
-
//
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
// Fallback to simple string format if no exports found
|
|
112
|
-
moduleMap[id] = normalizedPath;
|
|
113
|
-
}
|
|
218
|
+
// Fallback to simple string format if no exports found
|
|
219
|
+
moduleMap[id] = normalizedPath;
|
|
220
|
+
}
|
|
221
|
+
processedCount++;
|
|
222
|
+
}
|
|
223
|
+
else {
|
|
224
|
+
skippedNoPath++;
|
|
225
|
+
if (resource.includes('HeroSection')) {
|
|
226
|
+
console.warn('[CodePress] HeroSection module skipped - no normalized path:', resource);
|
|
114
227
|
}
|
|
115
228
|
}
|
|
116
229
|
});
|
|
230
|
+
console.log('[CodePress] Module map build complete:', {
|
|
231
|
+
total: compilation.modules.size,
|
|
232
|
+
processed: processedCount,
|
|
233
|
+
skippedNoId,
|
|
234
|
+
skippedNoResource,
|
|
235
|
+
skippedNoPath,
|
|
236
|
+
mapSize: Object.keys(moduleMap).length,
|
|
237
|
+
});
|
|
117
238
|
return moduleMap;
|
|
118
239
|
}
|
|
119
240
|
/**
|
|
120
|
-
* Capture export name mappings
|
|
241
|
+
* Capture export name mappings using webpack's own mangling APIs
|
|
242
|
+
* This uses ExportInfo.getUsedName() to get the mangled export names directly
|
|
121
243
|
*/
|
|
122
244
|
captureExportMappings(module, compilation) {
|
|
123
245
|
try {
|
|
124
|
-
// Get
|
|
125
|
-
const
|
|
126
|
-
if (
|
|
127
|
-
return null;
|
|
128
|
-
}
|
|
129
|
-
// Get the generated code for this module
|
|
130
|
-
if (!compilation.codeGenerationResults) {
|
|
131
|
-
return null;
|
|
132
|
-
}
|
|
133
|
-
const codeGenResult = compilation.codeGenerationResults.get(module, undefined);
|
|
134
|
-
if (!codeGenResult) {
|
|
246
|
+
// Get module ID for logging
|
|
247
|
+
const moduleId = compilation.chunkGraph.getModuleId(module);
|
|
248
|
+
if (moduleId === null || moduleId === undefined) {
|
|
135
249
|
return null;
|
|
136
250
|
}
|
|
137
|
-
//
|
|
138
|
-
const
|
|
139
|
-
|
|
140
|
-
if (!sourceMap) {
|
|
251
|
+
// Use webpack's ModuleGraph to get export information
|
|
252
|
+
const exportsInfo = compilation.moduleGraph.getExportsInfo(module);
|
|
253
|
+
if (!exportsInfo) {
|
|
141
254
|
return null;
|
|
142
255
|
}
|
|
143
|
-
const sourceCode = sourceMap.source().toString();
|
|
144
|
-
// Extract export names from the module
|
|
145
256
|
const exportMappings = {};
|
|
146
|
-
//
|
|
147
|
-
const
|
|
148
|
-
if (orderedExports.length === 0) {
|
|
149
|
-
return null;
|
|
150
|
-
}
|
|
151
|
-
// Parse the generated code to find export assignments
|
|
152
|
-
// Look for patterns like: exports.X = ..., __webpack_exports__.X = ..., etc.
|
|
153
|
-
for (const exportInfo of orderedExports) {
|
|
257
|
+
// Iterate through all exports and check if they were mangled
|
|
258
|
+
for (const exportInfo of exportsInfo.orderedExports) {
|
|
154
259
|
const originalName = exportInfo.name;
|
|
260
|
+
// Skip special exports
|
|
155
261
|
if (!originalName || originalName === '__esModule') {
|
|
156
262
|
continue;
|
|
157
263
|
}
|
|
158
|
-
//
|
|
159
|
-
//
|
|
160
|
-
const
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
const matches = sourceCode.matchAll(pattern);
|
|
167
|
-
for (const match of matches) {
|
|
168
|
-
const minifiedName = match[1];
|
|
169
|
-
if (minifiedName && minifiedName !== originalName) {
|
|
170
|
-
exportMappings[originalName] = minifiedName;
|
|
171
|
-
break;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
if (exportMappings[originalName]) {
|
|
175
|
-
break;
|
|
176
|
-
}
|
|
264
|
+
// Get the mangled name using webpack's own API
|
|
265
|
+
// Pass undefined as runtime to get the global mangled name
|
|
266
|
+
const usedName = exportInfo.getUsedName(originalName, undefined);
|
|
267
|
+
// If usedName is false, the export is unused (tree-shaken)
|
|
268
|
+
// If usedName is different from originalName, it was mangled
|
|
269
|
+
if (usedName && typeof usedName === 'string' && usedName !== originalName) {
|
|
270
|
+
exportMappings[originalName] = usedName;
|
|
271
|
+
console.log('[CodePress] Export mapping:', originalName, '->', usedName);
|
|
177
272
|
}
|
|
178
273
|
}
|
|
179
|
-
|
|
274
|
+
if (Object.keys(exportMappings).length > 0) {
|
|
275
|
+
console.log(`[CodePress] Found ${Object.keys(exportMappings).length} export mapping(s) for module ${moduleId}`);
|
|
276
|
+
return exportMappings;
|
|
277
|
+
}
|
|
278
|
+
return null;
|
|
180
279
|
}
|
|
181
280
|
catch (error) {
|
|
182
281
|
// Silently fail - export mapping is optional
|
|
282
|
+
console.warn('[CodePress] Export mapping failed:', error);
|
|
183
283
|
return null;
|
|
184
284
|
}
|
|
185
285
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webpack-plugin.js","sourceRoot":"","sources":["../src/webpack-plugin.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAGH,qCAAkC;
|
|
1
|
+
{"version":3,"file":"webpack-plugin.js","sourceRoot":"","sources":["../src/webpack-plugin.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAGH,qCAAkC;AA+BlC,MAAqB,sBAAsB;IAQzC;;OAEG;IACH,YAAY,UAAyC,EAAE;QAVvD;;WAEG;QACa,SAAI,GAAG,wBAAwB,CAAC;QAQ9C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,QAAkB;QAC7B,8CAA8C;QAC9C,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;YAC1B,OAAO,CAAC,GAAG,CAAC,qDAAqD,CAAC,CAAC;YACnE,OAAO;QACT,CAAC;QAED,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;YACrB,OAAO,CA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