@astrojs/solid-js
Advanced tools
Comparing version 0.1.3 to 0.1.4
# @astrojs/solid-js | ||
## 0.1.4 | ||
### Patch Changes | ||
- [#3505](https://github.com/withastro/astro/pull/3505) [`2b35650b`](https://github.com/withastro/astro/commit/2b35650b5dca28b5cd5dd7c9bb689d0eee6a2ddf) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Fix newline characters in SolidJS JSX attributes (ex: multiline CSS classes) | ||
## 0.1.3 | ||
@@ -4,0 +10,0 @@ |
@@ -11,3 +11,4 @@ function getRenderer() { | ||
presets: [solid({}, { generate: ssr ? "ssr" : "dom", hydratable: true })], | ||
plugins: [] | ||
plugins: [], | ||
inputSourceMap: false | ||
}; | ||
@@ -14,0 +15,0 @@ return options; |
{ | ||
"name": "@astrojs/solid-js", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Use Solid components within Astro", | ||
@@ -32,3 +32,3 @@ "type": "module", | ||
"devDependencies": { | ||
"astro": "1.0.0-beta.38", | ||
"astro": "1.0.0-beta.39", | ||
"astro-scripts": "0.0.4", | ||
@@ -35,0 +35,0 @@ "solid-js": "^1.4.3" |
@@ -15,2 +15,6 @@ import type { AstroIntegration, AstroRenderer } from 'astro'; | ||
plugins: [], | ||
// Otherwise, babel will try to consume the source map generated by esbuild | ||
// This causes unexpected issues with newline characters: https://github.com/withastro/astro/issues/3371 | ||
// Note "vite-plugin-solid" does the same: https://github.com/solidjs/vite-plugin-solid/blob/master/src/index.ts#L344-L345 | ||
inputSourceMap: false as any, | ||
}; | ||
@@ -17,0 +21,0 @@ |
15524
184