@tsrx/bun-plugin-react 0.1.19 → 0.1.21

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Bun plugin for @tsrx/react (.tsrx modules)",
4
4
  "license": "MIT",
5
5
  "author": "Dominic Gannaway",
6
- "version": "0.1.19",
6
+ "version": "0.1.21",
7
7
  "type": "module",
8
8
  "publishConfig": {
9
9
  "access": "public"
@@ -20,7 +20,7 @@
20
20
  }
21
21
  },
22
22
  "dependencies": {
23
- "@tsrx/react": "0.1.19"
23
+ "@tsrx/react": "0.1.21"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "bun": "^1.0.0",
package/src/index.js CHANGED
@@ -123,7 +123,7 @@ export function tsrxReact(options = {}) {
123
123
 
124
124
  let output = code;
125
125
  if (emit_css && css) {
126
- css_cache.set(css_id, css.code);
126
+ css_cache.set(css_id, css);
127
127
  output = `import ${JSON.stringify(css_id)};\n${code}`;
128
128
  } else {
129
129
  css_cache.delete(css_id);