@tsrx/vite-plugin-solid 0.0.26 → 0.0.28
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/package.json +2 -2
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Vite plugin for @tsrx/solid (.tsrx modules) targeting Solid 2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Dominic Gannaway",
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.28",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@tsrx/solid": "0.0.
|
|
23
|
+
"@tsrx/solid": "0.0.28"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"vite": "*"
|
package/src/index.js
CHANGED
|
@@ -117,7 +117,7 @@ export function tsrxSolid(options = {}) {
|
|
|
117
117
|
let final_code = code;
|
|
118
118
|
let final_map = /** @type {any} */ (map);
|
|
119
119
|
if (css) {
|
|
120
|
-
css_cache.set(real_path, css
|
|
120
|
+
css_cache.set(real_path, css);
|
|
121
121
|
final_code = `import ${JSON.stringify(real_path + CSS_QUERY)};\n${code}`;
|
|
122
122
|
// The prepended import adds one line to the generated output;
|
|
123
123
|
// shift every mapping down by one line so source positions stay
|