@wervt/nuxt 0.2.7 → 0.2.8

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.
Files changed (2) hide show
  1. package/dist/module.js +7 -0
  2. package/package.json +1 -1
package/dist/module.js CHANGED
@@ -93,6 +93,13 @@ var module_default = defineNuxtModule({
93
93
  clearImmediate: ["node:timers", "clearImmediate"]
94
94
  } }];
95
95
  });
96
+ if (nitroMajor >= 3 && !nuxt.options.dev) nuxt.hook("vite:extendConfig", (config, { isServer }) => {
97
+ const ssr = config.environments?.ssr;
98
+ if (isServer && ssr) ssr.resolve = {
99
+ ...ssr.resolve,
100
+ noExternal: true
101
+ };
102
+ });
96
103
  const useAblage = hasNuxtModule("ablage", nuxt);
97
104
  if (useAblage) {
98
105
  const options = nuxt.options;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wervt/nuxt",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Nuxt module for apps hosted on wervt: database, live data and runtime setup.",
5
5
  "keywords": [
6
6
  "drizzle",