@jsenv/plugin-react 1.8.1 → 1.8.3

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/plugin-react",
3
- "version": "1.8.1",
3
+ "version": "1.8.3",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,8 +24,8 @@
24
24
  "@babel/plugin-transform-react-jsx": "7.29.7",
25
25
  "@babel/plugin-transform-react-jsx-development": "7.29.7",
26
26
  "@babel/plugin-transform-react-jsx-source": "7.29.7",
27
- "@jsenv/ast": "6.9.2",
28
- "@jsenv/plugin-commonjs": "2.11.21",
27
+ "@jsenv/ast": "6.9.3",
28
+ "@jsenv/plugin-commonjs": "2.11.22",
29
29
  "@jsenv/sourcemap": "1.4.2",
30
30
  "@jsenv/url-meta": "8.5.7",
31
31
  "react-refresh": "0.18.0"
@@ -112,6 +112,7 @@ const jsenvPluginJsxAndRefresh = ({
112
112
  inputIsJsModule: true,
113
113
  inputUrl: urlInfo.url,
114
114
  outputUrl: urlInfo.generatedUrl,
115
+ options: { sourceMaps: urlInfo.context.sourcemapsEnabled },
115
116
  });
116
117
  const magicSource = createMagicSource(code);
117
118
  if (jsxEnabled) {