@isograph/babel-plugin 0.0.0-main-d9d01910 → 0.0.0-main-8c78c7e8

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/README.md CHANGED
@@ -20,7 +20,7 @@ module.exports = {
20
20
 
21
21
  ## What does it do?
22
22
 
23
- This package changes calls to `iso` entrypoint to `require` calls for the generated artifact. For example, `` iso`entrypoint Query.HomePage` `` might get replaced with `require("../__isograph/Query/HomePage/entrypoint.isograph.ts")`.
23
+ This package changes calls to `iso` entrypoint to `require` calls for the generated artifact. For example, `` iso`entrypoint Query.HomePage` `` might get replaced with `require("../__isograph/Query/HomePage/entrypoint.ts")`.
24
24
 
25
25
  ## Requirements
26
26
 
package/compileTag.js CHANGED
@@ -58,7 +58,7 @@ function compileImportStatement(t, path, type, field, artifactType, config) {
58
58
  const artifactDirectory = pathModule.join(cwd, config.artifact_directory);
59
59
 
60
60
  const fileToArtifactDir = pathModule.relative(folder, artifactDirectory);
61
- const artifactDirToArtifact = `/__isograph/${type}/${field}/${artifactType}.isograph.ts`;
61
+ const artifactDirToArtifact = `/__isograph/${type}/${field}/${artifactType}.ts`;
62
62
  const fileToArtifact = pathModule.join(
63
63
  fileToArtifactDir,
64
64
  artifactDirToArtifact,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@isograph/babel-plugin",
3
3
  "description": "A Babel plugin for use with Isograph applications.",
4
- "version": "0.0.0-main-d9d01910",
4
+ "version": "0.0.0-main-8c78c7e8",
5
5
  "keywords": [
6
6
  "graphql",
7
7
  "isograph",