@hostlink/nuxt-light 1.17.2 → 1.18.1
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/module.json +1 -1
- package/dist/module.mjs +5 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -249,6 +249,11 @@ const module = defineNuxtModule({
|
|
|
249
249
|
nuxt.options.imports = nuxt.options.imports || {};
|
|
250
250
|
nuxt.options.imports.presets = nuxt.options.imports.presets || [];
|
|
251
251
|
nuxt.options.imports.presets.push({ from: "quasar", imports: ["useQuasar"] });
|
|
252
|
+
nuxt.options.vite = nuxt.options.vite || {};
|
|
253
|
+
nuxt.options.vite.optimizeDeps = nuxt.options.vite.optimizeDeps || {};
|
|
254
|
+
nuxt.options.vite.optimizeDeps.include = nuxt.options.vite.optimizeDeps.include || [];
|
|
255
|
+
nuxt.options.vite.optimizeDeps.include.push("axios");
|
|
256
|
+
nuxt.options.vite.optimizeDeps.include.push("json-to-graphql-query");
|
|
252
257
|
const resolver = createResolver(import.meta.url);
|
|
253
258
|
const { resolve: resolveQuasar } = createResolver(dirname(await resolvePath("quasar/package.json")));
|
|
254
259
|
const importMap = JSON.parse(await await readFile(resolveQuasar("dist/transforms/import-map.json"), "utf-8"));
|