@wpnuxt/core 2.0.0-alpha.15 → 2.0.0-alpha.16
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 +3 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { ref } from 'vue';
|
|
|
9
9
|
import { parse, GraphQLError } from 'graphql';
|
|
10
10
|
import { execSync } from 'node:child_process';
|
|
11
11
|
|
|
12
|
-
const version = "2.0.0-alpha.
|
|
12
|
+
const version = "2.0.0-alpha.16";
|
|
13
13
|
|
|
14
14
|
function createModuleError(module, message) {
|
|
15
15
|
return new Error(formatErrorMessage(module, message));
|
|
@@ -925,6 +925,8 @@ const module$1 = defineNuxtModule({
|
|
|
925
925
|
nuxt.options.alias["#wpnuxt"] = resolver.resolve(nuxt.options.buildDir, "wpnuxt");
|
|
926
926
|
nuxt.options.alias["#wpnuxt/*"] = resolver.resolve(nuxt.options.buildDir, "wpnuxt", "*");
|
|
927
927
|
nuxt.options.alias["#wpnuxt/types"] = resolver.resolve("./types");
|
|
928
|
+
nuxt.options.alias["@wpnuxt/core/server-options"] = resolver.resolve("./server-options");
|
|
929
|
+
nuxt.options.alias["@wpnuxt/core/client-options"] = resolver.resolve("./client-options");
|
|
928
930
|
const nitroOpts = nuxt.options;
|
|
929
931
|
nitroOpts.nitro = nitroOpts.nitro || {};
|
|
930
932
|
nitroOpts.nitro.alias = nitroOpts.nitro.alias || {};
|