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.
- package/dist/_build/build.mjs +9 -6
- package/package.json +1 -1
package/dist/_build/build.mjs
CHANGED
|
@@ -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
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
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