solid-optimizer 1.0.0-next.2 → 1.0.0-next.4
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 +1 -1
- package/dist/{compile-sCZdwEKG.mjs → compile-Dx577-sp.mjs} +2 -2
- package/dist/{compile-sCZdwEKG.mjs.map → compile-Dx577-sp.mjs.map} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/vite.mjs +15 -2
- package/dist/vite.mjs.map +1 -1
- package/package.json +1 -1
- package/src/inline.ts +2 -1
- package/src/vite/index.ts +22 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
## Install
|
|
12
12
|
|
|
13
|
-
The Solid 2.0 version is published under the `next` tag. The `latest` version is for Solid 1.x.
|
|
13
|
+
The Solid 2.0 version is published under the `next` tag. The `latest` version is for Solid 1.x, which only gets fixes now, from the [`0.x` branch](https://github.com/lxsmnsyc/solid-optimizer/tree/0.x).
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
16
|
npm i -D solid-optimizer@next
|
|
@@ -3881,7 +3881,7 @@ var Inliner = class {
|
|
|
3881
3881
|
else copy.overwrite(attribute.start, attribute.end, parts.join(" "));
|
|
3882
3882
|
if (children !== void 0) {
|
|
3883
3883
|
const opening = spread.element.openingElement;
|
|
3884
|
-
const tag =
|
|
3884
|
+
const tag = copy.slice(opening.name.start, opening.name.end);
|
|
3885
3885
|
const close = this.context.code.lastIndexOf("/>", opening.end);
|
|
3886
3886
|
copy.overwrite(close, opening.end, `>${children}</${tag}>`);
|
|
3887
3887
|
}
|
|
@@ -4773,4 +4773,4 @@ function readModuleConstants(code, options = {}) {
|
|
|
4773
4773
|
//#endregion
|
|
4774
4774
|
export { lookup as a, forEachChild as c, unwrap as d, analyzeScopes as i, isIntrinsicTag as l, readModuleConstants as n, scopeAt as o, CONTEXT_SAFE_PRIMITIVES as r, collectParents as s, compile as t, parse as u };
|
|
4775
4775
|
|
|
4776
|
-
//# sourceMappingURL=compile-
|
|
4776
|
+
//# sourceMappingURL=compile-Dx577-sp.mjs.map
|