Skip to content

Commit

Permalink
docs: update examples to use subpath exports without extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
dangreaves committed Jan 31, 2024
1 parent 0160dca commit b60b0e3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/basic/gatsby-config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createAdapter } from "@dangreaves/gatsby-adapter-aws/adapter.js";
import { createAdapter } from "@dangreaves/gatsby-adapter-aws/adapter";

/** @type {import('gatsby').GatsbyConfig} */
export default {
Expand Down
2 changes: 1 addition & 1 deletion examples/cdk-project/lib/stacks/gatsby.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as ec2 from "aws-cdk-lib/aws-ec2";
import * as ecs from "aws-cdk-lib/aws-ecs";
import * as cloudfront from "aws-cdk-lib/aws-cloudfront";

import { GatsbySite } from "@dangreaves/gatsby-adapter-aws/cdk.js";
import { GatsbySite } from "@dangreaves/gatsby-adapter-aws/cdk";

export interface GatsbyStackProps extends cdk.StackProps {
vpc?: ec2.IVpc;
Expand Down
2 changes: 1 addition & 1 deletion examples/gatsby-functions/gatsby-config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createAdapter } from "@dangreaves/gatsby-adapter-aws/adapter.js";
import { createAdapter } from "@dangreaves/gatsby-adapter-aws/adapter";

/** @type {import('gatsby').GatsbyConfig} */
export default {
Expand Down
2 changes: 1 addition & 1 deletion examples/ssr/gatsby-config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createAdapter } from "@dangreaves/gatsby-adapter-aws/adapter.js";
import { createAdapter } from "@dangreaves/gatsby-adapter-aws/adapter";

/** @type {import('gatsby').GatsbyConfig} */
export default {
Expand Down

0 comments on commit b60b0e3

Please sign in to comment.