@jsenv/plugin-preact 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-preact",
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/sourcemap": "1.4.2",
27
+ "@jsenv/ast": "6.9.3",
28
+ "@jsenv/sourcemap": "1.4.3",
29
29
  "@jsenv/url-meta": "8.5.7",
30
30
  "@prefresh/babel-plugin": "0.5.3",
31
31
  "@prefresh/core": "1.5.10",
@@ -143,6 +143,7 @@ export const jsenvPluginPreact = ({
143
143
  inputIsJsModule: true,
144
144
  inputUrl: urlInfo.url,
145
145
  outputUrl: urlInfo.generatedUrl,
146
+ options: { sourceMaps: urlInfo.context.sourcemapsEnabled },
146
147
  });
147
148
  if (jsxEnabled) {
148
149
  const magicSource = createMagicSource(code);