gwchq-textjam 0.5.4 → 0.5.5

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/README.md CHANGED
@@ -146,6 +146,12 @@ export function EditorWrapper() {
146
146
  }
147
147
  ```
148
148
 
149
+ Both copy rules below serve from the site root: the editor's runtime resolves
150
+ `assets/*` (Pyodide worker, wheels, the stdin service worker) and the CSS of its
151
+ lazy chunks against `/`. The lazy chunks' JS is re-bundled by the consumer's own
152
+ webpack, but their extracted CSS is fetched at runtime, so `dist/textjam-chunks`
153
+ has to be served too.
154
+
149
155
  The consumer's webpack config should include the following setups
150
156
 
151
157
  ```
@@ -176,6 +182,11 @@ The consumer's webpack config should include the following setups
176
182
  from: "node_modules/gwchq-textjam/dist/assets",
177
183
  to: "assets",
178
184
  },
185
+ {
186
+ from: "node_modules/gwchq-textjam/dist/textjam-chunks",
187
+ to: "textjam-chunks",
188
+ noErrorOnMissing: true,
189
+ },
179
190
  ],
180
191
  }),
181
192
  ],