nitro-nightly 3.1.0-20251029-221723-5f6da290 → 3.1.0-20251029-222602-3be802f2

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.
@@ -166,12 +166,15 @@ const getRolldownConfig = (nitro) => {
166
166
  // "module" is intentionally not supported because of externals
167
167
  conditionNames: nitro.options.exportConditions
168
168
  },
169
- // @ts-expect-error (readonly values)
170
- inject: base.env.inject,
171
- jsx: {
172
- mode: "classic",
173
- factory: nitro.options.esbuild?.options?.jsxFactory,
174
- fragment: nitro.options.esbuild?.options?.jsxFragment
169
+ transform: {
170
+ inject: base.env.inject,
171
+ jsx: {
172
+ runtime: "classic",
173
+ // no auto-import
174
+ pragma: nitro.options.esbuild?.options?.jsxFactory,
175
+ pragmaFrag: nitro.options.esbuild?.options?.jsxFragment,
176
+ development: nitro.options.dev
177
+ }
175
178
  },
176
179
  onwarn(warning, warn) {
177
180
  if (!["CIRCULAR_DEPENDENCY", "EVAL"].includes(warning.code || "") && !warning.message.includes("Unsupported source map comment")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitro-nightly",
3
- "version": "3.1.0-20251029-221723-5f6da290",
3
+ "version": "3.1.0-20251029-222602-3be802f2",
4
4
  "description": "Build and Deploy Universal JavaScript Servers",
5
5
  "homepage": "https://nitro.build",
6
6
  "repository": "nitrojs/nitro",