@tsrx/turbopack-plugin-react 0.1.20 → 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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Turbopack integration for @tsrx/react",
4
4
  "license": "MIT",
5
5
  "author": "Dominic Gannaway",
6
- "version": "0.1.20",
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.20"
23
+ "@tsrx/react": "0.1.21"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "next": ">=15.3.0"
package/src/css-loader.js CHANGED
@@ -21,7 +21,7 @@ export default function tsrx_react_turbopack_css_loader(source) {
21
21
 
22
22
  try {
23
23
  const { css } = compile(source, this.resourcePath);
24
- callback(null, css?.code ?? '');
24
+ callback(null, css);
25
25
  } catch (/** @type {any} */ err) {
26
26
  callback(err);
27
27
  }