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 +11 -0
- package/dist/index.js +70544 -379235
- package/dist/style.css +0 -1
- package/dist/textjam-chunks/highcharts.df963698.js +605 -0
- package/dist/textjam-chunks/plotly.c4426481.js +308202 -0
- package/dist/textjam-chunks/plotly.d9ce4b33.css +1 -0
- package/package.json +1 -1
- /package/dist/{360.index.js → textjam-chunks/i18n-en-json.0fe7534f.js} +0 -0
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
|
],
|