nitro-nightly 3.0.1-20260115-125729-d5f91791 → 3.0.1-20260115-132703-00a93215
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/common.mjs +6 -1
- package/package.json +1 -1
package/dist/_build/common.mjs
CHANGED
|
@@ -24865,6 +24865,7 @@ function flattenExports(exports$1 = {}, parentSubpath = "./") {
|
|
|
24865
24865
|
|
|
24866
24866
|
//#endregion
|
|
24867
24867
|
//#region src/build/plugins.ts
|
|
24868
|
+
const FORCE_TRACE_DEPS = ["pg"];
|
|
24868
24869
|
async function baseBuildPlugins(nitro, base) {
|
|
24869
24870
|
const plugins$1 = [];
|
|
24870
24871
|
const virtualPlugin = virtual(virtualTemplates(nitro, [...base.env.polyfill]));
|
|
@@ -24884,7 +24885,11 @@ async function baseBuildPlugins(nitro, base) {
|
|
|
24884
24885
|
}));
|
|
24885
24886
|
if (nitro.options.node && nitro.options.noExternals !== true) {
|
|
24886
24887
|
const isDevOrPrerender = nitro.options.dev || nitro.options.preset === "nitro-prerender";
|
|
24887
|
-
const traceDeps = [...new Set([
|
|
24888
|
+
const traceDeps = [...new Set([
|
|
24889
|
+
...NodeNativePackages,
|
|
24890
|
+
...FORCE_TRACE_DEPS,
|
|
24891
|
+
...nitro.options.traceDeps || []
|
|
24892
|
+
])];
|
|
24888
24893
|
plugins$1.push(externals({
|
|
24889
24894
|
rootDir: nitro.options.rootDir,
|
|
24890
24895
|
conditions: nitro.options.exportConditions || ["default"],
|
package/package.json
CHANGED