@baeta/plugin-graphql 0.0.4 → 0.0.5
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/index.cjs +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -296,7 +296,7 @@ function buildModule(name, doc, {
|
|
|
296
296
|
function printMetadata() {
|
|
297
297
|
return `export namespace ModuleMetadata {
|
|
298
298
|
export const id = '${name}';
|
|
299
|
-
export const dirname =
|
|
299
|
+
export const dirname = './${name}';
|
|
300
300
|
export const typedef = ${JSON.stringify(doc)} as unknown as DocumentNode;
|
|
301
301
|
${printBaetaManager()}
|
|
302
302
|
}`;
|
package/index.js
CHANGED
|
@@ -281,7 +281,7 @@ function buildModule(name, doc, {
|
|
|
281
281
|
function printMetadata() {
|
|
282
282
|
return `export namespace ModuleMetadata {
|
|
283
283
|
export const id = '${name}';
|
|
284
|
-
export const dirname =
|
|
284
|
+
export const dirname = './${name}';
|
|
285
285
|
export const typedef = ${JSON.stringify(doc)} as unknown as DocumentNode;
|
|
286
286
|
${printBaetaManager()}
|
|
287
287
|
}`;
|