@lynx-js/template-webpack-plugin-canary 0.8.1-canary-20250630-124048cc → 0.8.2-canary-20250716-cb7feb6e

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 CHANGED
@@ -1,6 +1,12 @@
1
1
  # @lynx-js/template-webpack-plugin
2
2
 
3
- ## 0.8.1-canary-20250630161900-124048ccf835cad89d28252695f99e84022f81ef
3
+ ## 0.8.2-canary-20250716073530-cb7feb6e8cc9f4b83ac3147bd3e5a82059caa06a
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix the `Syntax Error: expecting ';'` error of chunk splitting ([#1279](https://github.com/lynx-family/lynx-stack/pull/1279))
8
+
9
+ ## 0.8.1
4
10
 
5
11
  ### Patch Changes
6
12
 
@@ -134,14 +134,10 @@ export class LynxEncodePluginImpl {
134
134
  // ```
135
135
  '/app-service.js': [
136
136
  this.#appServiceBanner(),
137
- ...[externalManifest, inlinedManifest].flatMap(manifest => Object.keys(manifest).map(name => {
138
- if (manifest === externalManifest) {
139
- return `lynx.requireModuleAsync('${this.#formatJSName(name, publicPath)}')`;
140
- }
141
- else {
142
- return `module.exports=lynx.requireModule('${this.#formatJSName(name, '/')}',globDynamicComponentEntry?globDynamicComponentEntry:'__Card__')`;
143
- }
144
- }).join(',')),
137
+ Object.keys(externalManifest).map(name => `lynx.requireModuleAsync('${this.#formatJSName(name, publicPath)}')`).join(','),
138
+ ';module.exports=',
139
+ Object.keys(inlinedManifest).map(name => `lynx.requireModule('${this.#formatJSName(name, '/')}',globDynamicComponentEntry?globDynamicComponentEntry:'__Card__')`).join(','),
140
+ ';',
145
141
  this.#appServiceFooter(),
146
142
  ].join(''),
147
143
  ...Object.fromEntries(Object.entries(inlinedManifest).map(([name, content]) => [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/template-webpack-plugin-canary",
3
- "version": "0.8.1-canary-20250630-124048cc",
3
+ "version": "0.8.2-canary-20250716-cb7feb6e",
4
4
  "description": "Simplifies creation of Lynx template files to serve your webpack bundles",
5
5
  "keywords": [
6
6
  "webpack",