nitro-nightly 3.0.1-20251110-004715-0cfc27dd → 3.0.1-20251110-005841-4cf1b533
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/rollup.mjs
CHANGED
|
@@ -139,12 +139,7 @@ const getRollupConfig = (nitro) => {
|
|
|
139
139
|
mainFields: ["main"],
|
|
140
140
|
exportConditions: nitro.options.exportConditions
|
|
141
141
|
}),
|
|
142
|
-
commonjs({
|
|
143
|
-
strictRequires: "auto",
|
|
144
|
-
esmExternals: (id) => !id.startsWith("unenv/"),
|
|
145
|
-
requireReturnsDefault: "auto",
|
|
146
|
-
...nitro.options.commonJS
|
|
147
|
-
}),
|
|
142
|
+
commonjs({ ...nitro.options.commonJS }),
|
|
148
143
|
json(),
|
|
149
144
|
inject(base.env.inject),
|
|
150
145
|
raw()
|
|
@@ -375,12 +375,7 @@ function createNitroEnvironment(ctx) {
|
|
|
375
375
|
rollupOptions: ctx.rollupConfig.config,
|
|
376
376
|
minify: ctx.nitro.options.minify,
|
|
377
377
|
emptyOutDir: false,
|
|
378
|
-
commonjsOptions: {
|
|
379
|
-
strictRequires: "auto",
|
|
380
|
-
esmExternals: (id) => !id.startsWith("unenv/"),
|
|
381
|
-
requireReturnsDefault: "auto",
|
|
382
|
-
...ctx.nitro.options.commonJS
|
|
383
|
-
}
|
|
378
|
+
commonjsOptions: { ...ctx.nitro.options.commonJS }
|
|
384
379
|
},
|
|
385
380
|
resolve: {
|
|
386
381
|
noExternal: ctx.nitro.options.dev ? [...ctx.rollupConfig.base.noExternal, ...runtimeDependencies] : true,
|
package/package.json
CHANGED