@lmjs/core 2.4.2 → 2.5.0
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/build/bundle.js +4 -0
- package/dist/lumenjs-core.js +14 -3
- package/package.json +1 -1
- package/src/_re.js +72 -4
- package/vendor/acorn.js +10 -0
- package/vendor/reconnecting-websocket.js +25 -5
package/build/bundle.js
CHANGED
|
@@ -113,6 +113,10 @@ function buildCommonTail() {
|
|
|
113
113
|
// node_modules/astring/dist/astring.min.js — see PROVENANCE.md.
|
|
114
114
|
// Already minified third-party code — nothing to strip.
|
|
115
115
|
parts.push(readVendor('astring.js'));
|
|
116
|
+
// acorn (2026-10-03): view <script> blocks now ship as source and are parsed at mount time, instead of shipping
|
|
117
|
+
// their ESTree in the bundle (the trees were ~5x the source and most of a built app.js). Minified UMD build of
|
|
118
|
+
// acorn 8.18.0 — the same parser and options the CLI uses — attaching `globalThis.acorn`.
|
|
119
|
+
parts.push(readVendor('acorn.js'));
|
|
116
120
|
|
|
117
121
|
parts.push(stripComments(read('walk.js')));
|
|
118
122
|
parts.push(stripComments(read('_re.js')));
|