@lynx-js/template-webpack-plugin-canary 0.9.0-canary-20250918-db58f3c8 → 0.9.0-canary-20250919-1d4ce685
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 +1 -1
- package/lib/LynxTemplatePlugin.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -251,12 +251,12 @@ class LynxTemplatePluginImpl {
|
|
|
251
251
|
const filename = Array.from(new Set(chunkNames)).join('_');
|
|
252
252
|
// If no filename is found, avoid generating async template
|
|
253
253
|
if (!filename) {
|
|
254
|
-
return;
|
|
254
|
+
return Promise.resolve();
|
|
255
255
|
}
|
|
256
256
|
const filenameTemplate = this.#getAsyncFilenameTemplate(filename);
|
|
257
257
|
// Ignore the encoded templates
|
|
258
258
|
if (encodedTemplate.has(filenameTemplate)) {
|
|
259
|
-
return;
|
|
259
|
+
return Promise.resolve();
|
|
260
260
|
}
|
|
261
261
|
encodedTemplate.add(filenameTemplate);
|
|
262
262
|
const asyncAssetsInfoByGroups = this.#getAssetsInformationByFilenames(compilation, chunkGroups.flatMap(cg => cg.getFiles()));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/template-webpack-plugin-canary",
|
|
3
|
-
"version": "0.9.0-canary-
|
|
3
|
+
"version": "0.9.0-canary-20250919-1d4ce685",
|
|
4
4
|
"description": "Simplifies creation of Lynx template files to serve your webpack bundles",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|